{"id":"GHSA-wfrj-qqc2-83cm","aliases":[],"url":"https://o3.security/vulnerability/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","published":"2021-09-20T19:52:41Z","modified":"2021-09-17T17:48:56Z","cvss":{"score":5.8,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"ghost","fixedVersion":"4.15.0"}],"fix":{"url":"https://github.com/TryGhost/Ghost/commit/93e4b2eafd18bc8e4c17924e0824e73617e7940c","label":"TryGhost/Ghost@93e4b2e"},"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2021-09-17T17:48:56Z"}}