{"id":"CVE-2021-38189","published":"2021-08-08T05:10:12Z","modified":"2024-08-04T01:37:15Z","title":"An issue was discovered in the lettre crate before 0.9.6 for Rust","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01494,"percentile":0.74789,"provenance":"source"},"cwes":[],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0069.html","tags":["x_refsource_MISC"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/lettre/RUSTSEC-2021-0069.md","tags":["x_refsource_MISC"]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":14.96}]},"affected":[{"ecosystem":"crates.io","package":"lettre","vulnerableRanges":[">=0.7.0, <0.9.6",">=0.10.0-alpha.1, <0.10.0-rc.3"],"patched":["0.9.6","0.10.0-rc.3"],"from":["GHSA-qc36-q22q-cjw3","RUSTSEC-2021-0069"],"provenance":"source"}],"summary":{"text":"The flaw lies in the lettre crate (a Rust e-mail library) before version 0.9.6, where message body content is not properly sanitised before being sent over SMTP.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:45:25Z"},"euvd":{"id":"EUVD-2021-1485","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-28247","published":"2020-11-12","fixed":"0.10.0-alpha.4","kev":false,"link":{"from":"CVE-2020-28247","to":"CVE-2021-38189","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:lettre","fromFixed":"0.9.5","toFixed":"0.9.6","daysApart":269},{"kind":"version-step","provenance":"source","package":"crates.io:lettre","fromFixed":"0.10.0-alpha.4","toFixed":"0.10.0-rc.3","daysApart":269}]}},{"cve":"CVE-2021-38189","published":"2021-08-08","fixed":"0.10.0-rc.3","kev":false},{"cve":"CVE-2026-46428","published":"2026-07-20","fixed":"0.11.22","kev":false}],"package":"crates.io:lettre"}}