CVE-2024-38997 adolph_dudu ratio-swiper was discovered to contain a prototype pollution via the function extendDefaults

Medium 6.5 Published Updated

Prototype pollution in ratio-swiper allows attackers to execute arbitrary code or cause denial of service via property injection.

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-38997?

CVE-2024-38997 is a medium-severity code injection vulnerability in n/a, published on 1 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

adolph_dudu ratio-swiper v0.0.2 was discovered to contain a prototype pollution via the function extendDefaults. This vulnerability allows attackers to execute arbitrary code or cause a Denial of Service (DoS) via injecting arbitrary properties.

Weakness: CWE-1321

Which versions are affected by CVE-2024-38997?

2 open source packages ship an affected version, including @adolph_dudu/ratio-swiper. It affects 1 product.

PackageAffectedFixed in
@adolph_dudu/ratio-swiper npmAll versionsNone
@adolph_dudu/ratio-swiper npmAll versionsNone

Products include Swiperjs Swiper.

How do I fix CVE-2024-38997?

No fix has been published for CVE-2024-38997 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-38997 being exploited?

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

Sources

Also known as GHSA-88vr-hjqx-57qh.

Is CVE-2024-38997 in your software?

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

Check your SBOMs for free