CVE-2023-2972 Prototype Pollution in antfu/utils

Medium 5.4 Published Updated

Prototype pollution in antfu/utils allows attackers to manipulate object prototypes, potentially leading to code execution or privilege escalation.

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-2023-2972?

CVE-2023-2972 is a medium-severity vulnerability in antfu/utils, published on 30 May 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Prototype Pollution in GitHub repository antfu/utils prior to 0.7.3.

Weakness: CWE-1321

Which versions are affected by CVE-2023-2972?

2 open source packages ship an affected version, including @antfu/utils. It affects 1 product.

PackageAffectedFixed in
@antfu/utils npmAll versions0.7.3
@antfu/utils npmAll versions0.7.3

Products include Antfu Utils.

How do I fix CVE-2023-2972?

Upgrade @antfu/utils to 0.7.3 or later.

Is CVE-2023-2972 being exploited?

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

Sources

Also known as GHSA-p2fh-2h23-6grg.

Is CVE-2023-2972 in your software?

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

Check your SBOMs for free