Improper Control of Generation of Code ('Code Injection') Affecting maildev package, versions *


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.05% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-MAILDEV-6592886
  • published 9 Apr 2024
  • disclosed 5 Apr 2024
  • credit Timothy Hoekstra

How to fix?

There is no fixed version for maildev.

Overview

maildev is a SMTP Server and Web Interface for reading and testing emails during development

Affected versions of this package are vulnerable to Improper Control of Generation of Code ('Code Injection') in the saveAttachment function within maildev/lib/mailserver.js file. An attacker can execute arbitrary code on the system by sending a specially crafted email.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
7.2 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Changed
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    None