CVE-2025-9308: yarnpkg Yarn request-manager.js setOptions redos

Published Aug 21, 2025
·
Updated

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.

Affected Software

2 affected components
yarnpkg yarn<=1.22.22
yarnpkg yarn<=1.22.22

Event History

Aug 21, 2025
CVE Published
via MITRE·04:02 PM
Data Sourced
via MITRE·04:02 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeaknessAffected Software
Feb 28, 57989
Event
via FIRST·01:39 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-9308?

CVE-2025-9308 is classified as a medium severity vulnerability due to its potential to lead to inefficient regular expression complexity.

2

How do I fix CVE-2025-9308?

To mitigate CVE-2025-9308, update Yarn to version 1.22.23 or later, which addresses the vulnerability.

3

What kind of access is required to exploit CVE-2025-9308?

Local access is required to exploit CVE-2025-9308, as it cannot be triggered remotely.

4

What impact does CVE-2025-9308 have on applications?

CVE-2025-9308 can lead to performance issues due to inefficient regular expression evaluation in affected applications.

5

Which versions of Yarn are affected by CVE-2025-9308?

Yarn versions up to 1.22.22 are affected by CVE-2025-9308.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203