CVE-2023-38894 tree-kit Prototype Pollution vulnerability

Critical 9.8 Published Updated

A remote attacker can execute arbitrary code via prototype pollution in the extend function of the Tree-kit 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-2023-38894?

CVE-2023-38894 is a critical code injection vulnerability in n/a, published on 16 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A Prototype Pollution issue in Cronvel Tree-kit v.0.7.4 and before allows a remote attacker to execute arbitrary code via the extend function.

Weakness: CWE-1321

Which versions are affected by CVE-2023-38894?

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

PackageAffectedFixed in
tree-kit npmAll versions0.7.5
tree-kit npmAll versions0.7.5

Products include Tree Kit Project Tree Kit.

How do I fix CVE-2023-38894?

Upgrade tree-kit to 0.7.5 or later.

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

Is CVE-2023-38894 being exploited?

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

Sources

Also known as GHSA-5p42-m6f3-hpmj.

Is CVE-2023-38894 in your software?

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

Check your SBOMs for free