CVE-2024-38999 jrburke requirejs vulnerable to prototype pollution

Critical 10.0 Published Updated

Attackers can execute arbitrary code or cause denial of service via prototype pollution in the RequireJS library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-38999?

CVE-2024-38999 is a critical code injection vulnerability in n/a, published on 1 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-1321

Which versions are affected by CVE-2024-38999?

2 open source packages ship an affected version, including requirejs.

PackageAffectedFixed in
requirejs npmAll versions2.3.7
requirejs npmAll versions2.3.7

How do I fix CVE-2024-38999?

Upgrade requirejs to 2.3.7 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2024-38999 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-38999 exists.

Sources

Also known as CLSA-2026-1773706623, CLSA-2026-1774311625, DEBIAN-CVE-2024-38999, GHSA-x3m3-4wpv-5vgc, OESA-2026-1600, UBUNTU-CVE-2024-38999.

Is CVE-2024-38999 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free