CVE-2024-46489 Remote command execution in promptr

High 8.8 Published Updated

Attackers can execute arbitrary commands via a crafted URL in the promptr library, requiring an upgrade to mitigate.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-46489?

CVE-2024-46489 is a high-severity command injection vulnerability in n/a, published on 25 Sep 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A remote command execution (RCE) vulnerability in promptr v6.0.7 allows attackers to execute arbitrary commands via a crafted URL.

Weakness: CWE-94

Which versions are affected by CVE-2024-46489?

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

PackageAffectedFixed in
@ifnotnowwhen/promptr npmAll versions to 6.0.7None
@ifnotnowwhen/promptr npmAll versions to 6.0.7None

Products include Ferrislucas Promptr.

How do I fix CVE-2024-46489?

No fix has been published for CVE-2024-46489 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2024-46489 being exploited?

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

Sources

Also known as GHSA-hwxp-6qf7-q3rc.

Is CVE-2024-46489 in your software?

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

Check your SBOMs for free