credential-handler / authn.io

Credential Mediator Polyfill
https://github.com/w3c-ccg/credential-handler-api
Other
44 stars 8 forks source link

CVE: 2022-37603 found in loader-utils - Version: 1.4.2,2.0.4 [JS] #126

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 1 year ago

Veracode Software Composition Analysis

Attribute Details
Library loader-utils
Description utils for webpack loaders
Language JS
Vulnerability Regular Expression Denial Of Service (ReDoS)
Vulnerability description loader-utils is vulnerable to regular expression denial of service. The vulnerability is due to insecure regular expression in the url variable of the interpolateName function in interpolateName.js. A remote attacker can cause denial of service via malicious regex.
CVE 2022-37603
CVSS score 5
Vulnerability present in version/s 1.0.0-2.0.4
Found library version/s 1.4.2,2.0.4
Vulnerability fixed in version 3.0.0
Library latest version 3.2.1
Fix

Links:

mattcollier commented 1 year ago

Although the Veracode issue indicates that the vulnerability is fixed in v3.x, in fact the fix was backported to v1 and v2 as well.

https://github.com/webpack/loader-utils/issues/213#issuecomment-1314604293

v1 patch: https://github.com/webpack/loader-utils/pull/226 v2 patch: https://github.com/webpack/loader-utils/pull/225

Therefore this issue is a NOOP.