{"id":"CVE-2025-9308","aliases":["CVE-2025-9308"],"related":[],"kind":"vulnerability","state":"published","title":"yarnpkg Yarn request-manager.js setOptions redos","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"de","text":"Es wurde eine Schwachstelle in yarnpkg Yarn bis 1.22.22 entdeckt. Betroffen hiervon ist die Funktion setOptions der Datei src/util/request-manager.js. Mittels dem Manipulieren mit unbekannten Daten kann eine inefficient regular expression complexity-Schwachstelle ausgenutzt werden. Der Angriff muss auf lokaler Ebene erfolgen.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-08-21T16:02:12.172Z","modified":"2026-06-17T10:08:43.407Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X","score":4.8,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:X/RC:R","score":3.3,"rating":"LOW"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:X/RC:R","score":3.3,"rating":"LOW"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:S/C:N/I:N/A:P/E:ND/RL:ND/RC:UR","score":1.7,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-400","CWE-1333"],"affected":[{"ranges":[{"version":"1.22.0","status":"affected"},{"version":"1.22.1","status":"affected"},{"version":"1.22.2","status":"affected"},{"version":"1.22.3","status":"affected"},{"version":"1.22.4","status":"affected"},{"version":"1.22.5","status":"affected"},{"version":"1.22.6","status":"affected"},{"version":"1.22.7","status":"affected"},{"version":"1.22.8","status":"affected"},{"version":"1.22.9","status":"affected"},{"version":"1.22.10","status":"affected"},{"version":"1.22.11","status":"affected"},{"version":"1.22.12","status":"affected"},{"version":"1.22.13","status":"affected"},{"version":"1.22.14","status":"affected"},{"version":"1.22.15","status":"affected"},{"version":"1.22.16","status":"affected"},{"version":"1.22.17","status":"affected"},{"version":"1.22.18","status":"affected"},{"version":"1.22.19","status":"affected"},{"version":"1.22.20","status":"affected"},{"version":"1.22.21","status":"affected"},{"version":"1.22.22","status":"affected"}],"vendor":"yarnpkg","product":"Yarn","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"1.22.22"}],"vendor":"yarnpkg","product":"yarn","cpe":"cpe:2.3:a:yarnpkg:yarn:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://vuldb.com/?id.320913","tags":["technical-description","third-party-advisory","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/?ctiid.320913","tags":["permissions-required","signature","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/?submit.633486","tags":["third-party-advisory","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://github.com/yarnpkg/yarn/pull/9203","tags":["exploit","issue-tracking"],"sources":["cvelist","nvd"]}],"credits":["mmmsssttt (VulDB User)"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-08-21T17:24:36.331Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-9308","url":"https://www.cve.org/CVERecord?id=CVE-2025-9308","licence":"CVE Terms of Use","modified":"2025-08-21T17:32:14.661Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-9308","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-9308","licence":"Public domain","modified":"2026-06-17T10:08:43.407Z"}],"updatedAt":"2026-11-25T22:59:03.481Z","epss":{"score":0.00246,"percentile":0.1691,"date":"2026-12-01T12:00:22.000Z"}}