Vulnerabilities

2 via 3 paths

Dependencies

179

Source

GitHub

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
  • 1
Status
  • 2
  • 0
  • 0

high severity
new

Interpretation Conflict

  • Vulnerable module: nodemailer
  • Introduced through: mailparser@3.14.2 and smtp-server@3.21.3

Detailed paths

  • Introduced through: @mbtest/mountebank@mountebank-testing/mountebank › mailparser@3.14.2 › nodemailer@10.3.1
    Remediation: Upgrade to mailparser@3.14.3.
  • Introduced through: @mbtest/mountebank@mountebank-testing/mountebank › smtp-server@3.21.3 › nodemailer@10.3.1
    Remediation: Upgrade to smtp-server@3.21.4.

Overview

nodemailer is an Easy as cake e-mail sending from your Node.js applications

Affected versions of this package are vulnerable to Interpretation Conflict in addressparser, which sendMail() uses to derive the SMTP envelope recipient. An attacker can make the application send mail to a recipient other than the one it validated by supplying an address whose domain has whitespace or an RFC 5322 comment directly before a dot, such as ceo@victim.example .allowed.example, because the parser ends the address at that point and sendMail() uses the truncated address. Exposure requires the application to restrict recipients by domain with a parser or suffix check other than the one in nodemailer, and to pass the raw address string to sendMail().

Remediation

Upgrade nodemailer to version 10.4.1 or higher.

References

medium severity
new

Asymmetric Resource Consumption (Amplification)

  • Vulnerable module: minimatch
  • Introduced through: ejs@3.1.10

Detailed paths

  • Introduced through: @mbtest/mountebank@mountebank-testing/mountebank › ejs@3.1.10 › jake@10.9.4 › filelist@1.0.6 › minimatch@5.1.9

Overview

minimatch is a minimal matching utility.

Affected versions of this package are vulnerable to Asymmetric Resource Consumption (Amplification) in the firstPhasePreProcess method, where the **/.. transform clones a globParts entry and pushes the clone back onto the same array inside a do...while (didSomething) fixpoint loop. An attacker can exhaust CPU and memory by supplying a glob pattern whose **/.. sequences regenerate entries during preprocessing, which secondPhasePreProcess then compares in an O(n^2) pairwise partsMatch pass over the expanded set. Exploitation requires the pattern to be parsed with optimizationLevel set to 2 or higher.

Remediation

Upgrade minimatch to version 11.0.1 or higher.

References