#VU97243 Prototype pollution in requirejs - CVE-2024-38998


Vulnerability identifier: #VU97243

Vulnerability risk: High

CVSSv4.0: 8.1 [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:U/U:Amber]

CVE-ID: CVE-2024-38998

CWE-ID: CWE-1321

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
requirejs
Web applications / JS libraries

Vendor: James Burke

Description

The vulnerability allows a remote attacker to execute arbitrary JavaScript code.

The vulnerability exists due to prototype pollution via the function config. A remote attacker can pass specially crafted input to the application and perform prototype pollution, which can result in arbitrary code execution or denial of service (DoS).

Mitigation
Install update from vendor's website.

Vulnerable software versions

requirejs: 2.3.6


External links
https://gist.github.com/mestrtee/9acae342285bd2998fa09ebcb1e6d30a


Q & A

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.


Latest bulletins with this vulnerability