CVE-2021-3666 Prototype Pollution in fiznool/body-parser-xml

High 7.6 Published Updated

Prototype pollution in the body-parser-xml library allows attackers to modify object prototypes, potentially leading to code execution or denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-3666?

CVE-2021-3666 is a high-severity vulnerability in fiznool/body-parser-xml, published on 13 Sep 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

body-parser-xml is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Weakness: CWE-1321

Which versions are affected by CVE-2021-3666?

2 open source packages ship an affected version, including body-parser-xml. It affects 1 product.

PackageAffectedFixed in
body-parser-xml npmAll versions2.0.3
body-parser-xml npmAll versions2.0.3

Products include Xml Body Parser Project Xml Body Parser.

How do I fix CVE-2021-3666?

Upgrade body-parser-xml to 2.0.3 or later.

Is CVE-2021-3666 being exploited?

There is no known exploitation of CVE-2021-3666 in the wild and no public exploit code.

Sources

Also known as GHSA-2ghc-6v89-pw9j.

Is CVE-2021-3666 in your software?

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

Check your SBOMs for free