mailparser@0.2.33 vulnerabilities

Parse e-mails

  • latest version

    3.7.2

  • latest non vulnerable version

  • first published

    13 years ago

  • latest version published

    16 days ago

  • licenses detected

    • >=0.2.0 <2.0.0; >=2.6.0 <3.0.0; >=3.0.1
  • Direct Vulnerabilities

    Known vulnerabilities in the mailparser package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Denial of Service (DoS)

    mailparser is an email parser.

    Affected versions of this package are vulnerable to Denial of Service (DoS) attacks via a crafted email containing a few million multiparts.

    MIME (Multipurpose Internet Mail Extentions) is an internet standard that extends the format of email to support: Non-ACSII character sets, non-text attachments, and more.

    Most Node.js MIME decoders do not validate the number of multiparts they are willing to decode, allowing an attacker to send a crafted email containing a few million multiparts, which will then block the Node.js event loop for tens of seconds, explode RAM usage, and cause an out of memory crash.

    How to fix Denial of Service (DoS)?

    Upgrade mailparser to version 2.3.0 or higher.

    <2.3.0