yarnpkg Yarn up to 1.22.22 hosted-git-resolver.js explodeHostedGitFragment redos
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.3 | $0-$5k | 0.00 |
Summary
A vulnerability categorized as problematic has been discovered in yarnpkg Yarn up to 1.22.22. Impacted is the function explodeHostedGitFragment of the file src/resolvers/exotics/hosted-git-resolver.js. The manipulation results in redos.
This vulnerability is known as CVE-2025-8262. It is possible to launch the attack remotely. No exploit is available.
A patch should be applied to remediate this issue.
Details
A vulnerability was found in yarnpkg Yarn up to 1.22.22. It has been classified as problematic. Affected is the function explodeHostedGitFragment of the file src/resolvers/exotics/hosted-git-resolver.js. The manipulation with an unknown input leads to a redos vulnerability. CWE is classifying the issue as CWE-1333. The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles. This is going to have an impact on availability.
The advisory is available at github.com. This vulnerability is traded as CVE-2025-8262. The exploitability is told to be easy. It is possible to launch the attack remotely. Technical details are known, but there is no available exploit. This vulnerability is assigned to T1449.003 by the MITRE ATT&CK project.
The vulnerability scanner Nessus provides a plugin with the ID 245582 (Fedora 42 : yarnpkg (2025-cf39a93e95)), which helps to determine the existence of the flaw in a target environment.
Applying the patch 97731871e674bf93bcbf29e9d3258da8685f3076 is able to eliminate this problem. The bugfix is ready for download at github.com.
The vulnerability is also documented in the vulnerability database at Tenable (245582). If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Vendor
Name
Version
- 1.22.0
- 1.22.1
- 1.22.2
- 1.22.3
- 1.22.4
- 1.22.5
- 1.22.6
- 1.22.7
- 1.22.8
- 1.22.9
- 1.22.10
- 1.22.11
- 1.22.12
- 1.22.13
- 1.22.14
- 1.22.15
- 1.22.16
- 1.22.17
- 1.22.18
- 1.22.19
- 1.22.20
- 1.22.21
- 1.22.22
Website
- Product: https://github.com/yarnpkg/yarn/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 5.4VulDB Meta Temp Score: 5.3
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 7.5
NVD Vector: 🔒
CNA Base Score: 4.3
CNA Vector: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: RedosCWE: CWE-1333 / CWE-400 / CWE-404
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 245582
Nessus Name: Fedora 42 : yarnpkg (2025-cf39a93e95)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔒
Patch: 97731871e674bf93bcbf29e9d3258da8685f3076
Timeline
07/26/2025 Advisory disclosed07/26/2025 VulDB entry created
08/08/2025 VulDB entry last update
Sources
Product: github.comAdvisory: 9199
Status: Confirmed
CVE: CVE-2025-8262 (🔒)
GCVE (CVE): GCVE-0-2025-8262
GCVE (VulDB): GCVE-100-317850
Entry
Created: 07/26/2025 18:29Updated: 08/08/2025 15:52
Changes: 07/26/2025 18:29 (56), 07/28/2025 21:01 (30), 08/01/2025 06:07 (12), 08/08/2025 15:52 (2)
Complete: 🔍
Submitter: mmmsssttt
Cache ID: 216::103
Submit
Accepted
- Submit #617393: Yarn v1.22.22 Inefficient Regular Expression Complexity (by mmmsssttt)
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.