CVE-2025-9308

A vulnerability has been found in yarnpkg Yarn up to 1.22.22. This impacts the function setOptions of the file src/util/request-manager.js. Such manipulation leads to inefficient regular expression complexity. Local access is required to approach this attack. This vulnerability only affects products that are no longer supported by the maintainer.
References
Link Resource
https://github.com/yarnpkg/yarn/pull/9203 Exploit Issue Tracking
https://vuldb.com/?ctiid.320913 Permissions Required VDB Entry
https://vuldb.com/?id.320913 Third Party Advisory VDB Entry
https://vuldb.com/?submit.633486 Third Party Advisory VDB Entry
https://github.com/yarnpkg/yarn/pull/9203 Exploit Issue Tracking
Configurations

Configuration 1 (hide)

cpe:2.3:a:yarnpkg:yarn:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2025-08-21 16:15

Updated : 2025-09-12 12:58


NVD link : CVE-2025-9308

Mitre link : CVE-2025-9308

CVE.ORG link : CVE-2025-9308


JSON object : View

Products Affected

yarnpkg

  • yarn
CWE
CWE-400

Uncontrolled Resource Consumption

CWE-1333

Inefficient Regular Expression Complexity