CVE-2020-28247
mediumpriority · track · 22EPSS 0.015 · 75 %ileEUUSEPSS · scored 2026-10-28
The lettre library through 0.10.0-alpha for Rust allows arbitrary sendmail option injection via transport/sendmail/mod.rs.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (9)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-vc2p-r46x-m3vxArgument injection in lettre2021-08-25ghsa · osvUS
### Impact 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 abritrary files (using sendmail's logging features). *NOTE*: This vulnerability only affects the sendmail transport. Others, including smtp, are not affected. ### Fix The flaw is corrected by modifying the executed command to stop parsing arguments before passing the destination addresses. ### References * [RUSTSEC-2020-0069](https://rustsec.org/advisories/RUSTSEC-2020-0069.html) * [CVE-2020-28247](https://nvd.nist.gov/vuln/detail/CVE-2020-28247)
- RUSTSEC-2020-0069Argument injection in sendmail transport2020-11-11vendor · osvUS
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.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (10)
External citations — patches, advisories, analysis.
- https://github.com/RustSec/advisory-db/pull/478/filescnnvd
- https://github.com/lettre/lettrecnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2020-28247cnnvd
- https://rustsec.org/advisories/RUSTSEC-2020-0069.htmlcnnvd
- https://github.com/RustSec/advisory-db/pull/478/filesenisa_euvd
- https://github.com/lettre/lettreenisa_euvd
- https://rustsec.org/advisories/RUSTSEC-2020-0069.htmlenisa_euvd
- https://github.com/RustSec/advisory-db/pull/478/filesPatchThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan