{"id":"CVE-2025-8262","published":"2025-07-28T07:02:05Z","modified":"2025-07-28T17:16:45Z","title":"yarnpkg Yarn hosted-git-resolver.js explodeHostedGitFragment redos","vendor":"yarnpkg","product":"Yarn","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00843,"percentile":0.58838,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://vuldb.com/?id.317850","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.317850","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/?submit.617393","tags":["third-party-advisory"]},{"url":"https://github.com/yarnpkg/yarn/pull/9199","tags":["issue-tracking"]},{"url":"https://github.com/yarnpkg/yarn/pull/9199/commits/97731871e674bf93bcbf29e9d3258da8685f3076","tags":["issue-tracking","patch"]}],"priority":{"score":14.8,"factors":[{"name":"EPSS percentile","points":11.77},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"yarnpkg","affectedVersions":[{"vendor":"yarnpkg","product":"Yarn","versions":["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"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-07-28T17:13:41.425895Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-22855","exploited":false,"provenance":"source"}}