requirejs/r.js · Security
jrburke requirejs vulnerable to prototype pollution
- GHSA ID
- GHSA-x3m3-4wpv-5vgc
- CVE ID
- CVE-2024-38999
- Severity
- high
- Published
- Updated
- CVSS
- 10 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- CVSS v3
- 10 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- CVSS v4
- 8.9 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
Description
jrburke requirejs v2.3.6 was discovered to contain a prototype pollution via the function s.contexts._.configure. This vulnerability allows attackers to execute arbitrary code or cause a Denial of Service (DoS) via injecting arbitrary properties.
CWEs
- CWE-1321 · Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-38999 ↗
- https://gist.github.com/mestrtee/9acae342285bd2998fa09ebcb1e6d30a ↗
- https://github.com/requirejs/r.js/issues/1015 ↗
- https://github.com/requirejs/requirejs/issues/1854 ↗
- https://github.com/requirejs/requirejs/pull/1856/commits/ebd7a2ff71473542fa132d0d15c10fb4ed1539e1 ↗
- https://security.snyk.io/vuln/SNYK-JS-REQUIREJS-5416713 ↗
- https://github.com/advisories/GHSA-x3m3-4wpv-5vgc ↗