{"id":"GHSA-wfrj-qqc2-83cm","summary":"Remote command injection when using sendmail email transport","details":"### Impact\n\nSites 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.\n\nGhost defaults to the `direct` transport so this is only exploitable if the `sendmail` transport is explicitly used.\n\n### Patches\n\nFixed in 4.15.0, all sites should upgrade as soon as possible.\n\n### Workarounds\n\n* Use an alternative email transport as described in the [docs](https://ghost.org/docs/config/#mail). \n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n* email us at security@ghost.org\n","modified":"2021-09-17T17:48:56Z","published":"2021-09-20T19:52:41Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2021-09-17T17:48:56Z","nvd_published_at":null,"cwe_ids":["CWE-88"]},"references":[{"type":"WEB","url":"https://github.com/TryGhost/Ghost/security/advisories/GHSA-wfrj-qqc2-83cm"},{"type":"WEB","url":"https://github.com/TryGhost/Ghost/commit/93e4b2eafd18bc8e4c17924e0824e73617e7940c"},{"type":"PACKAGE","url":"https://github.com/TryGhost/Ghost"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-48ww-j4fc-435p"}],"affected":[{"package":{"name":"ghost","ecosystem":"npm","purl":"pkg:npm/ghost"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.15.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-wfrj-qqc2-83cm/GHSA-wfrj-qqc2-83cm.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N"}]}