{"id":"GHSA-vc6q-ccj9-9r89","summary":"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.","aliases":["CVE-2024-27448"],"modified":"2025-03-14T19:53:02Z","published":"2024-04-05T06:30:46Z","database_specific":{"cwe_ids":["CWE-22","CWE-352"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2024-04-05T17:03:37Z","nvd_published_at":"2024-04-05T06:15:10Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27448"},{"type":"WEB","url":"https://github.com/maildev/maildev/issues/467"},{"type":"WEB","url":"https://gist.github.com/stypr/fe2003f00959f7e3d92ab9d5260433f8"},{"type":"WEB","url":"https://github.com/Tim-Hoekstra/MailDev-2.1.0-Exploit-RCE"},{"type":"PACKAGE","url":"https://github.com/maildev/maildev"},{"type":"WEB","url":"https://github.com/maildev/maildev/releases"},{"type":"WEB","url":"https://intrix.com.au/articles/exposing-major-security-flaw-in-maildev"}],"affected":[{"package":{"name":"maildev","ecosystem":"npm","purl":"pkg:npm/maildev"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0-beta1"},{"last_affected":"2.1.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-vc6q-ccj9-9r89/GHSA-vc6q-ccj9-9r89.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}