CVE-2024-36580 @cdr0/sg Prototype Pollution

Critical 9.8 Published Updated

An attacker can execute arbitrary code via prototype pollution in the cdr0 sg npm library.

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

What is CVE-2024-36580?

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

Official description

A Prototype Pollution issue in cdr0 sg 1.0.10 allows an attacker to execute arbitrary code.

Weakness: CWE-1321

Which versions are affected by CVE-2024-36580?

2 open source packages ship an affected version, including @cdr0/sg.

PackageAffectedFixed in
@cdr0/sg npmAll versions to 1.0.10None
@cdr0/sg npmAll versions to 1.0.10None

How do I fix CVE-2024-36580?

No fix has been published for CVE-2024-36580 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2024-36580 being exploited?

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

Sources

Also known as GHSA-fg52-5jjj-28h7.

Is CVE-2024-36580 in your software?

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

Check your SBOMs for free