CVE-2024-39173 Code injection in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary code via crafted payloads in the calculator input field due to unsafe eval usage.

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

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

Official description

calculator-boilerplate v1.0 was discovered to contain a remote code execution (RCE) vulnerability via the eval function at /routes/calculator.js. This vulnerability allows attackers to execute arbitrary code via a crafted payload injected into the input field.

Weakness: CWE-95

Which versions are affected by CVE-2024-39173?

How do I fix CVE-2024-39173?

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

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

Sources

Also known as GHSA-9893-cg5g-qpvh.

Is CVE-2024-39173 in your software?

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

Check your SBOMs for free