Skip to content

Remote command injection when using sendmail email transport

Moderate
daniellockyer published GHSA-wfrj-qqc2-83cm Sep 17, 2021

Package

npm ghost (npm)

Affected versions

<4.15.0

Patched versions

4.15.0

Description

Impact

Sites using the sendmail transport as part of their mail config are vulnerable to remote command injection due to a vulnerability in the nodemailer dependency.

Ghost defaults to the direct transport so this is only exploitable if the sendmail transport is explicitly used.

Patches

Fixed in 4.15.0, all sites should upgrade as soon as possible.

Workarounds

  • Use an alternative email transport as described in the docs.

For more information

If you have any questions or comments about this advisory:

Severity

Moderate
5.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Changed
Confidentiality
None
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N

CVE ID

No known CVE

Weaknesses

No CWEs