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.
The product does not properly control the allocation and maintenance of a limited resource.
The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.
Link | Tags |
---|---|
https://vuldb.com/?id.317850 | technical description vdb entry third party advisory |
https://vuldb.com/?ctiid.317850 | permissions required signature vdb entry |
https://vuldb.com/?submit.617393 | vdb entry third party advisory |
https://github.com/yarnpkg/yarn/pull/9199 | issue tracking exploit |
https://github.com/yarnpkg/yarn/pull/9199/commits/97731871e674bf93bcbf29e9d3258da8685f3076 | patch issue tracking |