{"id":"CVE-2025-9308","aliases":["DEBIAN-CVE-2025-9308","EUVD-2025-25475","GHSA-pfv3-xh9q-f4rq","UBUNTU-CVE-2025-9308"],"status":"published","title":"yarnpkg Yarn request-manager.js setOptions redos","description":"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.","severity":{"version":"4.0","score":4.8,"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00215,"percentile":0.12017,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1333","CWE-400"],"published":"2025-08-21T16:02:12Z","modified":"2026-10-28T02:30:38Z","fixes":[{"ecosystem":"Debian:13","package":"node-yarnpkg","fixed_in":["4.0.2+dfsg-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"node-yarnpkg","fixed_in":["4.0.2+dfsg-2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"node-yarnpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.22.19+~cs24.27.18-2","1.22.19+~cs24.27.18-2+deb12u1","1.22.19+~cs24.27.18-3","1.22.19+~cs24.27.18-4","4.0.0-rc.53+dfsg-1","4.0.1+dfsg-1","4.0.1+dfsg-2","4.0.2+dfsg-1","4.0.2+dfsg-2","4.0.2+dfsg-3","4.1.0+dfsg-1","4.1.0+dfsg-3","4.1.0+dfsg-4","4.1.0+dfsg-5","4.1.0+dfsg-6","4.1.0+dfsg-7","4.1.0+dfsg-8","4.1.0+dfsg-9"]},{"source":"osv","ecosystem":"Debian:13","package":"node-yarnpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.2+dfsg-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"node-yarnpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.2+dfsg-2"}]}]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"node-yarnpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.13.0-1build1","1.13.0-3","1.19.1-1","1.22.4-2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"node-yarnpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.22.10+~cs22.25.14-3","1.22.10+~cs22.25.14-4","1.22.10+~cs22.25.14-5","1.22.10+~cs22.25.14-8"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"node-yarnpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.22.19+~cs24.27.18-2","1.22.19+~cs24.27.18-4"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"node-yarnpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.0.2+dfsg-3","4.1.0+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"node-yarnpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.1.0+dfsg-1","4.1.0+dfsg-6ubuntu2","4.1.0+dfsg-7ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"node-yarnpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.1.0+dfsg-1"]}],"products":[{"vendor":"yarnpkg","product":"yarn"}],"references":[{"url":"https://vuldb.com/?id.320913","tags":["vdb-entry","technical-description","Third Party Advisory","VDB Entry","advisory","report"]},{"url":"https://vuldb.com/?ctiid.320913","tags":["signature","permissions-required","Permissions Required","VDB Entry","report"]},{"url":"https://vuldb.com/?submit.633486","tags":["third-party-advisory","Third Party Advisory","VDB Entry","advisory","report"]},{"url":"https://github.com/yarnpkg/yarn/pull/9203","tags":["issue-tracking","exploit","Exploit","Issue Tracking","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-9308","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-pfv3-xh9q-f4rq"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/9xxx/CVE-2025-9308.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-9308","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-9308","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-9308","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-9308","title":"yarnpkg Yarn request-manager.js setOptions redos","description":"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.","status":"published","published":"2025-08-21T16:02:12.172Z","modified":"2025-08-21T17:32:14.661Z","cvss":[{"version":"4.0","score":4.8,"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","level":"medium","assessor":"cna"},{"version":"3.1","score":3.3,"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","level":"low","assessor":"cna"},{"version":"3.0","score":3.3,"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","level":"low","assessor":"cna"},{"version":"2.0","score":1.7,"vector":"AV:L/AC:L/Au:S/C:N/I:N/A:P/E:ND/RL:ND/RC:UR","assessor":"cna"}],"cwes":["CWE-1333","CWE-400"],"updated_at":"2026-11-02T14:32:33.755525Z"}],"euvd":[{"id":"EUVD-2025-25475","description":"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.","status":"published","published":"2025-08-21T16:02:12Z","modified":"2025-08-21T17:32:14Z","cvss":[{"version":"4.0","score":4.8,"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","level":"medium"}],"updated_at":"2026-11-02T20:31:55.037702Z"}],"ghsa":[{"id":"GHSA-pfv3-xh9q-f4rq","title":"A vulnerability has been found in yarnpkg Yarn up to 1.22.22. This impacts the function...","description":"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.","status":"published","published":"2025-08-21T18:31:28Z","modified":"2025-08-21T18:31:35Z","cvss":[{"version":"4.0","score":4.8,"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"low"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:03:22.079982Z"}],"nvd":[{"id":"CVE-2025-9308","description":"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.","status":"published","published":"2025-08-21T16:15:35.79Z","modified":"2026-06-17T10:08:43.407Z","cvss":[{"version":"4.0","score":4.8,"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"low","assessor":"secondary"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":1.7,"vector":"AV:L/AC:L/Au:S/C:N/I:N/A:P","level":"low","assessor":"secondary"}],"cwes":["CWE-400","CWE-1333"],"updated_at":"2026-11-02T14:11:25.261243Z"}],"osv":[{"id":"CVE-2025-9308","title":"yarnpkg Yarn request-manager.js setOptions redos","description":"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.","status":"published","published":"2025-08-21T16:02:12.172Z","modified":"2026-10-28T02:30:38.434181845Z","cvss":[{"version":"4.0","score":4.8,"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","level":"medium"}],"cwes":["CWE-1333","CWE-400"],"updated_at":"2026-11-02T15:44:53.490346Z"},{"id":"DEBIAN-CVE-2025-9308","description":"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.","status":"published","published":"2025-08-21T16:15:35.79Z","modified":"2026-09-01T20:05:59.229347309Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:48.440897Z"},{"id":"UBUNTU-CVE-2025-9308","description":"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.","status":"published","published":"2025-08-21T16:15:00Z","modified":"2026-10-17T12:59:41.058169503Z","cvss":[{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"low"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"},{"version":"4.0","score":4.8,"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","level":"medium"}],"updated_at":"2026-11-02T16:55:55.926217Z"}]}}
