loader-utils is vulnerable to Regular Expression Denial of Service (ReDoS) #16

Closed
opened 2022-11-16 04:51:50 +00:00 by argoyle · 0 comments
argoyle commented 2022-11-16 04:51:50 +00:00 (Migrated from gitlab.com)

⚠️ dependabot-gitlab has detected security vulnerability for loader-utils in path: /, manifest_file: /package.json but was unable to update it! ⚠️

Package Severity Affected versions Patched versions IDs
loader-utils (NPM) HIGH >= 1.0.0, < 1.4.2 1.4.2 GHSA-hhq3-ff78-jv3g,CVE-2022-37599

Description

A regular expression denial of service (ReDoS) flaw was found in Function interpolateName in interpolateName.js in webpack loader-utils via the resourcePath variable in interpolateName.js. A badly or maliciously formed string could be used to send crafted requests that cause a system to crash or take a disproportional amount of time to process. This issue has been patched in versions 1.4.2, 2.0.4 and 3.2.1.

References

⚠️ `dependabot-gitlab` has detected security vulnerability for `loader-utils` in path: `/`, manifest_file: `/package.json` but was unable to update it! ⚠️ * https://github.com/advisories/GHSA-hhq3-ff78-jv3g | Package | Severity | Affected versions | Patched versions | IDs | |--------------------|----------|-------------------|------------------|----------------------------------------| | loader-utils (NPM) | HIGH | >= 1.0.0, < 1.4.2 | 1.4.2 | `GHSA-hhq3-ff78-jv3g`,`CVE-2022-37599` | # Description A regular expression denial of service (ReDoS) flaw was found in Function interpolateName in interpolateName.js in webpack loader-utils via the resourcePath variable in interpolateName.js. A badly or maliciously formed string could be used to send crafted requests that cause a system to crash or take a disproportional amount of time to process. This issue has been patched in versions 1.4.2, 2.0.4 and 3.2.1. # References * https://nvd.nist.gov/vuln/detail/CVE-2022-37599 * https://github.com/webpack/loader-utils/issues/211 * https://github.com/webpack/loader-utils/blob/d9f4e23cf411d8556f8bac2d3bf05a6e0103b568/lib/interpolateName.js#L38 * https://github.com/webpack/loader-utils/blob/d9f4e23cf411d8556f8bac2d3bf05a6e0103b568/lib/interpolateName.js#L83 * https://github.com/webpack/loader-utils/issues/216 * https://github.com/webpack/loader-utils/commit/36dc86617930a5cf18af51cf3f53d0ee284d2824 * https://github.com/advisories/GHSA-hhq3-ff78-jv3g
argoyle (Migrated from gitlab.com) closed this issue 2022-12-05 13:03:29 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dancefinder/dancefinder-app#16