CVE-2024-34273 njwt Prototype Pollution vulnerability

Medium 5.9 Published Updated

Prototype pollution in the njwt library allows attackers to manipulate object prototypes, potentially leading to code execution or privilege escalation.

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-34273?

CVE-2024-34273 is a medium-severity vulnerability in n/a, published on 16 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

njwt up to v0.4.0 was discovered to contain a prototype pollution in the Parser.prototype.parse method.

Weakness: CWE-1321

Which versions are affected by CVE-2024-34273?

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

PackageAffectedFixed in
njwt npmAll versions2.0.1
njwt npmAll versions2.0.1

How do I fix CVE-2024-34273?

Upgrade njwt to 2.0.1 or later.

Is CVE-2024-34273 being exploited?

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

Sources

Also known as GHSA-3hvj-2783-34x2.

Is CVE-2024-34273 in your software?

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

Check your SBOMs for free