CVE-2024-27448 MailDev Remote Code Execution

Critical 9.1 Published Updated

Attackers can execute arbitrary code by sending crafted emails, affecting MailDev users who should upgrade immediately.

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

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

Official description

MailDev 2 through 2.1.0 allows Remote Code Execution via a crafted Content-ID header for an e-mail attachment, leading to lib/mailserver.js writing arbitrary code into the routes.js file.

Weakness: CWE-352

Which versions are affected by CVE-2024-27448?

2 open source packages ship an affected version, including maildev.

PackageAffectedFixed in
maildev npmFrom 2.0.0-beta1 to 2.1.0None
maildev npmFrom 2.0.0-beta1 to 2.1.0None

How do I fix CVE-2024-27448?

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

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

Sources

Also known as GHSA-vc6q-ccj9-9r89.

Is CVE-2024-27448 in your software?

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

Check your SBOMs for free