GitHub Advisory Database
GHSA-vc6q-ccj9-9r89
MailDev Remote Code Execution
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | maildev | From 2.0.0-beta1 up to and including 2.1.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-27448
- https://github.com/maildev/maildev/issues/467
- https://gist.github.com/stypr/fe2003f00959f7e3d92ab9d5260433f8
- https://github.com/Tim-Hoekstra/MailDev-2.1.0-Exploit-RCE
- https://github.com/maildev/maildev
- https://github.com/maildev/maildev/releases
- https://intrix.com.au/articles/exposing-major-security-flaw-in-maildev