Advisory

GHSA-wfrj-qqc2-83cm

Also known as: None

Summary

Remote command injection when using sendmail email transport

Details

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

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-09-20 19:52 UTC
Modified
2021-09-17 17:48 UTC

Affected packages and fixes

ghost

npm · All systems

Affected

  • introduced 0, fixed 4.15.0 (semver)

Fixed versions

4.15.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences