CVE-2020-28247Lettre
Medium 5.3 No auth needed
Follow: this CVE · Lettre · Lettre We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 75
- Auth required
- No
- Published
- Nov 12, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
The lettre library through 0.10.0-alpha for Rust allows arbitrary sendmail option injection via transport/sendmail/mod.rs.
What to do
- Apply the vendor's security update for Lettre.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | lettre |
≥ 0.9.0 < 0.9.5 |
0.9.5 |
cargo update -p lettre --precise 0.9.5 |
| crates.io | lettre |
≥ 0.8.0 < 0.8.4 |
0.8.4 |
cargo update -p lettre --precise 0.8.4 |
| crates.io | lettre |
≥ 0.7.0 < 0.7.1 |
0.7.1 |
cargo update -p lettre --precise 0.7.1 |
| crates.io | lettre |
≥ 0.7.0 < 0.7.1 |
0.7.1 |
cargo update -p lettre --precise 0.7.1 |
| crates.io | lettre |
≥ 0.8.0 < 0.8.4 |
0.8.4 |
cargo update -p lettre --precise 0.8.4 |
| crates.io | lettre |
≥ 0.9.0 < 0.9.5 |
0.9.5 |
cargo update -p lettre --precise 0.9.5 |
| crates.io | lettre |
≥ 0.10.0-alpha.1 < 0.10.0-alpha.4 |
0.10.0-alpha.4 |
cargo update -p lettre --precise 0.10.0-alpha.4 |
Per OSV / GitHub Advisories (GHSA-vc2p-r46x-m3vx, RUSTSEC-2020-0069). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| lettre | lettre | ≥ 0.8.0 ≤ 0.8.3 |
| lettre | lettre | ≥ 0.9.0 ≤ 0.9.5 |
| lettre | lettre | 0.7.0 |
| lettre | lettre | 0.10.0 |
| lettre | lettre | 0.10.0 |
| lettre | lettre | 0.10.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Product Third Party Advisory
- rustsec.org Third Party Advisory