CVE-2021-25927 Prototype pollution in safe-flat

Critical 9.8 Published Updated

Prototype pollution in safe-flat allows attackers to cause denial of service and potentially execute remote code.

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

What is CVE-2021-25927?

CVE-2021-25927 is a critical vulnerability in safe-flat, published on 26 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Prototype pollution vulnerability in 'safe-flat' versions 2.0.0 through 2.0.1 allows an attacker to cause a denial of service and may lead to remote code execution.

Weakness: CWE-1321

Which versions are affected by CVE-2021-25927?

2 open source packages ship an affected version, including safe-flat. It affects 1 product.

PackageAffectedFixed in
safe-flat npmFrom 2.0.02.0.2
safe-flat npmFrom 2.0.02.0.2

Products include Safe-Flat Project Safe-Flat.

How do I fix CVE-2021-25927?

Upgrade safe-flat to 2.0.2 or later.

Is CVE-2021-25927 being exploited?

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

Sources

Also known as GHSA-33rv-m2gp-mm2r.

Is CVE-2021-25927 in your software?

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

Check your SBOMs for free