GitHub Advisoryadvisory · npm

GHSA-vc6q-ccj9-9r89 MailDev Remote Code Execution

CRITICAL Published 2024-04-05 Modified 2025-03-14 Official page ↗
Aliases
CVE-2024-27448
Ecosystem
npm
Packages
maildev
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-22, CWE-352
Reviewed
2024-04-05

Affected packages

• npm maildev: >= 2.0.0-beta1, <= 2.1.0 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2024-27448 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… vulnerability

Weakness · CWE (2)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
  • CWE-352 Cross-Site Request Forgery weakness

References