VDB
Sign up
MEDIUM5.8

GHSA-wfrj-qqc2-83cm

Remote command injection when using sendmail email transport

Quick fix

GHSA-wfrj-qqc2-83cm — ghost: upgrade to the fixed version with the command below.

npm install ghost@4.15.0

Details

### Impact

Sites using the `sendmail` transport as part of their `mail` config are vulnerable to remote command injection due to a [vulnerability](https://github.com/advisories/GHSA-48ww-j4fc-435p) 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](https://ghost.org/docs/config/#mail).

### For more information

If you have any questions or comments about this advisory:

* email us at security@ghost.org

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/ghost
Introduced in: 0Fixed in: 4.15.0
Fixnpm install ghost@4.15.0

References