Inefficient Regular Expression Complexity in Yarn by yarnpkg
CVE-2025-9308
4.8MEDIUM
What is CVE-2025-9308?
A vulnerability exists in the Yarn package manager, specifically in the setOptions function located in src/util/request-manager.js. This flaw results in inefficient regular expression complexity, posing a risk that could be exploited by users with local access. It primarily affects versions of Yarn that are no longer maintained, making them more susceptible to potential manipulations.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
Yarn 1.22.0
Yarn 1.22.1
Yarn 1.22.2
References
CVSS V4
Score:
4.8
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
Low
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None
Timeline
Vulnerability published
Vulnerability Reserved
Credit
mmmsssttt (VulDB User)
