cve.bz

CVE-2021-38189

9.8 criticalEPSS 1.5%

Critical (9.8) in lettre lettre. EPSS 1.5% chance of exploitation in the next 30 days. Fixed in lettre 0.10.0-rc.3, 0.9.6.

An issue was discovered in the lettre crate before 0.9.6 for Rust. In an e-mail message body, an attacker can place a . character after two <CR><LF> sequences and then inject arbitrary SMTP commands.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.5% chance of exploitation in the next 30 days; higher than 74% of CVEs (scores of 2026-10-31)
CWE
CWE-77
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-qc36-q22q-cjw3crates.iolettre>=0.7.0 <0.9.60.9.6
RUSTSEC-2021-0069crates.iolettre>=0.7.0 <0.9.6
>=0.10.0-alpha.1 <0.10.0-rc.3
0.9.6, 0.10.0-rc.3

References

Check your stackJSON