CVE-2025-8262
CVE-2025-8262 · yarnpkg Yarn hosted-git-resolver.js explodeHostedGitFragment redos
CVSS 5.3 · Medium · EPSS 0.8%
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- yarnNo fix published
- node-yarnpkg Debian 12No fix published
- node-yarnpkg Debian 13No fix published
- node-yarnpkg Debian 14No fix published
- and 6 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="node-yarnpkg"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Stack: system
Affected products and versions
yarn
- Versions
- 1.22.0: Affected
- 1.22.1: Affected
- 1.22.2: Affected
- 1.22.3: Affected
- 1.22.4: Affected
- 1.22.5: Affected
All versions (23)
- 1.22.6: Affected
- 1.22.7: Affected
- 1.22.8: Affected
- 1.22.9: Affected
- 1.22.10: Affected
- 1.22.11: Affected
- 1.22.12: Affected
- 1.22.13: Affected
- 1.22.14: Affected
- 1.22.15: Affected
- 1.22.16: Affected
- 1.22.17: Affected
- 1.22.18: Affected
- 1.22.19: Affected
- 1.22.20: Affected
- 1.22.21: Affected
- 1.22.22: Affected
No fix published
node-yarnpkg Debian 12
- Versions
- 1.22.19+~cs24.27.18-2
- 1.22.19+~cs24.27.18-2+deb12u1
- 1.22.19+~cs24.27.18-3
- 1.22.19+~cs24.27.18-4
- 4.0.0-rc.53+dfsg-1
- 4.0.1+dfsg-1
All versions (18)
- 4.0.1+dfsg-2
- 4.0.2+dfsg-1
- 4.0.2+dfsg-2
- 4.0.2+dfsg-3
- 4.1.0+dfsg-1
- 4.1.0+dfsg-3
- 4.1.0+dfsg-4
- 4.1.0+dfsg-5
- 4.1.0+dfsg-6
- 4.1.0+dfsg-7
- 4.1.0+dfsg-8
- 4.1.0+dfsg-9
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-yarnpkg Debian 13
- Versions
- 4.1.0+dfsg-1
- 4.1.0+dfsg-3
- 4.1.0+dfsg-4
- 4.1.0+dfsg-5
- 4.1.0+dfsg-6
- 4.1.0+dfsg-7
All versions (8)
- 4.1.0+dfsg-8
- 4.1.0+dfsg-9
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-yarnpkg Debian 14
- Versions
- 4.1.0+dfsg-1
- 4.1.0+dfsg-3
- 4.1.0+dfsg-4
- 4.1.0+dfsg-5
- 4.1.0+dfsg-6
- 4.1.0+dfsg-7
All versions (8)
- 4.1.0+dfsg-8
- 4.1.0+dfsg-9
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-yarnpkg Ubuntu 20.04 LTS
- Versions
- 1.13.0-1build1
- 1.13.0-3
- 1.19.1-1
- 1.22.4-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-yarnpkg Ubuntu 22.04 LTS
- Versions
- 1.22.10+~cs22.25.14-3
- 1.22.10+~cs22.25.14-4
- 1.22.10+~cs22.25.14-5
- 1.22.10+~cs22.25.14-8
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-yarnpkg Ubuntu 24.04 LTS
- Versions
- 1.22.19+~cs24.27.18-2
- 1.22.19+~cs24.27.18-4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-yarnpkg Ubuntu 25.10
- Versions
- 4.0.2+dfsg-3
- 4.1.0+dfsg-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-yarnpkg Ubuntu 26.10
- Versions
- 4.1.0+dfsg-1
- 4.1.0+dfsg-6ubuntu2
- 4.1.0+dfsg-7ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-yarnpkg Ubuntu 26.04 LTS
- Versions
- 4.1.0+dfsg-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published