Yarnpkg Yarn
yarnpkg Yarn hosted-git-resolver.js explodeHostedGitFragment redos
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 leads to inefficient regular expression complexity. It is possible to launch the attack remotely. The patch is identified as 97731871e674bf93bcbf29e9d3258da8685f3076. It is recommended to apply a patch to fix this issue.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by NVD · CWE-1333
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
yarnpkg Yarn
- 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
Mitigation
The record names no fix. Check the vendor advisory below.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.