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

12 Sep 2025, 12:58

Type Values Removed Values Added
References () https://github.com/yarnpkg/yarn/pull/9203 - () https://github.com/yarnpkg/yarn/pull/9203 - Exploit, Issue Tracking
References () https://vuldb.com/?ctiid.320913 - () https://vuldb.com/?ctiid.320913 - Permissions Required, VDB Entry
References () https://vuldb.com/?id.320913 - () https://vuldb.com/?id.320913 - Third Party Advisory, VDB Entry
References () https://vuldb.com/?submit.633486 - () https://vuldb.com/?submit.633486 - Third Party Advisory, VDB Entry
CPE cpe:2.3:a:yarnpkg:yarn:*:*:*:*:*:*:*:*
First Time Yarnpkg yarn
Yarnpkg

22 Aug 2025, 18:09

Type Values Removed Values Added
Summary
  • (es) Se ha detectado una vulnerabilidad en yarnpkg Yarn hasta la versión 1.22.22. Esta vulnerabilidad afecta a la función setOptions del archivo src/util/request-manager.js. Esta manipulación genera una complejidad ineficiente en las expresiones regulares. Se requiere acceso local para abordar este ataque. Esta vulnerabilidad solo afecta a los productos que ya no reciben soporte del fabricante.

21 Aug 2025, 18:15

Type Values Removed Values Added
References () https://github.com/yarnpkg/yarn/pull/9203 - () https://github.com/yarnpkg/yarn/pull/9203 -

21 Aug 2025, 16:15

Type Values Removed Values Added
New CVE

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