CVE-2020-28247
Argument injection in sendmail transport
Description
Affected versions of lettre allowed argument injection to the sendmail command. It was possible, using forged `to` addresses, to pass arbitrary arguments to the sendmail executable. Depending on the implementation (original sendmail, postfix, exim, etc.) it could be possible in some cases to write email data into arbitrary files (using sendmail's logging features). The flaw is corrected by modifying the executed command to stop parsing arguments before passing the destination addresses. NOTE: This vulnerability only affects the `sendmail` transport. Others, including `smtp`, are not affected. This vulnerability was reported by vin01.
How to fix CVE-2020-28247
To remediate CVE-2020-28247, upgrade the affected package to a fixed version below.
- —upgrade to 0.9.5 or later
- —upgrade to 0.7.1 or later
Is CVE-2020-28247 being exploited?
Low — EPSS is 1.5%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- >= 0.9.0, < 0.9.5
- >= 0.7.0, < 0.7.1, >= 0.8.0, < 0.8.4, >= 0.9.0, < 0.9.5, >= 0.10.0-alpha.1, < 0.10.0-alpha.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |