CVE-2025-9308

Public Exploit
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.

Category

4.8
CVSS
Severity: Medium
CVSS 4.0 •
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.01%
Third-Party Advisory vuldb.com
Affected: yarnpkg Yarn
Published at:
Updated at:

References

Link Tags
https://vuldb.com/?id.320913 vdb entry technical description
https://vuldb.com/?ctiid.320913 permissions required signature
https://vuldb.com/?submit.633486 third party advisory
https://github.com/yarnpkg/yarn/pull/9203 issue tracking

Frequently Asked Questions

What is the severity of CVE-2025-9308?
CVE-2025-9308 has been scored as a medium severity vulnerability.
How to fix CVE-2025-9308?
To fix CVE-2025-9308, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2025-9308 being actively exploited in the wild?
It is possible that CVE-2025-9308 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2025-9308?
CVE-2025-9308 affects yarnpkg Yarn.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.