Live threats

All CVEs / Lettre

CVE-2020-28247Lettre

Medium 5.3 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Lettre.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
lettrelettre≥ 0.8.0 ≤ 0.8.3
lettrelettre≥ 0.9.0 ≤ 0.9.5
lettrelettre0.7.0
lettrelettre0.10.0
lettrelettre0.10.0
lettrelettre0.10.0

Official sources

References

Links published by the sources. Open them with care.