We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-8262

yarnpkg Yarn hosted-git-resolver.js explodeHostedGitFragment redos



Description

EN DE

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.

Es wurde eine problematische Schwachstelle in yarnpkg Yarn bis 1.22.22 ausgemacht. Es betrifft die Funktion explodeHostedGitFragment der Datei src/resolvers/exotics/hosted-git-resolver.js. Mittels dem Manipulieren mit unbekannten Daten kann eine inefficient regular expression complexity-Schwachstelle ausgenutzt werden. Der Angriff kann über das Netzwerk erfolgen. Der Patch wird als 97731871e674bf93bcbf29e9d3258da8685f3076 bezeichnet. Als bestmögliche Massnahme wird Patching empfohlen.

Reserved 2025-07-26 | Published 2025-07-28 | Updated 2025-07-28 | Assigner VulDB


MEDIUM: 5.3CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X
MEDIUM: 4.3CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C
MEDIUM: 4.3CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C
4.0AV:N/AC:L/Au:S/C:N/I:N/A:P/E:ND/RL:OF/RC:C

Problem types

Inefficient Regular Expression Complexity

Resource Consumption

Product status

1.22.0
affected

1.22.1
affected

1.22.2
affected

1.22.3
affected

1.22.4
affected

1.22.5
affected

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

Timeline

2025-07-26:Advisory disclosed
2025-07-26:VulDB entry created
2025-07-26:VulDB entry last update

Credits

mmmsssttt (VulDB User) reporter

References

vuldb.com/?id.317850 (VDB-317850 | yarnpkg Yarn hosted-git-resolver.js explodeHostedGitFragment redos) vdb-entry technical-description

vuldb.com/?ctiid.317850 (VDB-317850 | CTI Indicators (IOB, IOC, TTP, IOA)) signature permissions-required

vuldb.com/?submit.617393 (Submit #617393 | Yarn v1.22.22 Inefficient Regular Expression Complexity) third-party-advisory

github.com/yarnpkg/yarn/pull/9199 issue-tracking

github.com/...mmits/97731871e674bf93bcbf29e9d3258da8685f3076 issue-tracking patch

cve.org (CVE-2025-8262)

nvd.nist.gov (CVE-2025-8262)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-8262

Support options

Helpdesk Chat, Email, Knowledgebase