← Vulnerability feed

Vulnerability record · CVE-2025-9308 · published 21 August 2025

CVE-2025-9308: Yarnpkg yarn uncontrolled resource consumption vulnerability

Yarnpkg · Yarn

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.

4.8 CVSS 4.0 Medium EPSS 0.21% · top 90.3% CWE-400 · Uncontrolled resource consumptionCWE-1333 · Inefficient regular expression (ReDoS)
4.8CVSS 4.0 base score, v2 1.7
0.21%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
5References, 2 tagged exploit
17 Jun 2026Last modified by NVD

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.

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:

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://github.com/yarnpkg/yarn/pull/9203 ExploitIssue Tracking
https://vuldb.com/?ctiid.320913 Permissions RequiredVDB Entry
https://vuldb.com/?id.320913 Third Party AdvisoryVDB Entry
https://vuldb.com/?submit.633486 Third Party AdvisoryVDB Entry
https://github.com/yarnpkg/yarn/pull/9203 ExploitIssue Tracking

Track CVE-2025-9308 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.1CVE-2019-5448Yarnpkg yarn missing encryption vulnerabilityYarn before 1.17.3 is vulnerable to Missing Encryption of Sensitive Data due to HTTP URLs in lockfile causing unencrypted authentication data to be s…EPSS 0.67%7.8CVE-2021-4435Yarnpkg yarn untrusted search path vulnerabilityAn untrusted search path vulnerability was found in Yarn. When a victim runs certain Yarn commands in a directory with attacker-controlled content, m…EPSS 0.30%7.8CVE-2019-10773Yarnpkg yarn link following vulnerabilityIn Yarn before 1.21.1, the package install functionality can be abused to generate arbitrary symlinks on the host filesystem by using specially craft…EPSS 1.5%7.5CVE-2020-8131Yarnpkg yarn path traversal vulnerabilityArbitrary filesystem write vulnerability in Yarn before 1.22.0 allows attackers to write to any path on the filesystem and potentially lead to arbitr…EPSS 5.2%5.9CVE-2019-15608Yarnpkg yarn toctou race condition vulnerabilityThe package integrity validation in yarn < 1.19.0 contains a TOCTOU vulnerability where the hash is computed before writing a package to cache. It's …EPSS 1.8%5.3CVE-2025-8262Yarnpkg yarn uncontrolled resource consumption vulnerabilityA vulnerability was found in yarnpkg Yarn up to 1.22.22. It has been classified as problematic. Affected is the function explodeHostedGitFragment of …EPSS 0.75%7.5CVE-2026-28318SolarWinds Serv-U unauthenticated POST request denial of serviceSolarWinds Serv-U crashes when it receives a specially crafted POST request using Content-Encoding: deflate, and the crash occurs without authenticat…KEVEPSS 1.9%analysed7.5CVE-2026-45498Microsoft Defender antimalware platform uncontrolled resource consumption DoSCVE-2026-45498 is a denial of service flaw in the Microsoft Defender antimalware platform, classified as uncontrolled resource consumption (CWE-400).…KEVEPSS 1.3%analysed

Source: NIST National Vulnerability Database (record CVE-2025-9308), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.