Vulnerability identifier: #VU70122
Vulnerability risk: Medium
CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-185
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
loader-utils
Web applications /
JS libraries
Vendor: webpack
Description
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to insufficient validation of user-supplied input passed via the resourcePath variable to interpolateName() function in interpolateName.js. A remote attacker can pass specially crafted data to the application and perform regular expression denial of service (ReDos) attack.Mitigation
Install update from vendor's website.
Vulnerable software versions
loader-utils: 3.0.0 - 3.2.0, 2.0.0 - 2.0.3, 1.0.0 - 1.4.1
External links
http://github.com/webpack/loader-utils/blob/d9f4e23cf411d8556f8bac2d3bf05a6e0103b568/lib/interpolateName.js#L38
http://github.com/webpack/loader-utils/issues/211
http://github.com/webpack/loader-utils/blob/d9f4e23cf411d8556f8bac2d3bf05a6e0103b568/lib/interpolateName.js#L83
http://github.com/webpack/loader-utils/issues/216
http://github.com/advisories/GHSA-hhq3-ff78-jv3g
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.