{"id":"RUSTSEC-2021-0069","aliases":["CVE-2021-38189","GHSA-qc36-q22q-cjw3"],"title":"SMTP command injection in body","titleSource":"OSV","descriptionSource":"OSV","description":"Affected versions of lettre allowed SMTP command injection through an attacker's controlled message body. The module for escaping lines starting with a period wouldn't catch a period that was placed after a double CRLF sequence, allowing the attacker to end the current message and write arbitrary SMTP commands after it.\n\nThe flaw is fixed by correctly handling consecutive CRLF sequences.","severity":"unknown","score":null,"published":"2021-05-22T12:00:00.000Z","modified":"2026-11-18T09:27:05.722Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"crates.io","name":"lettre","sources":[{"name":"OSV · RUSTSEC-2021-0069","url":"https://osv.dev/vulnerability/RUSTSEC-2021-0069"}],"ranges":[{"events":[{"introduced":"0.7.0"},{"fixed":"0.9.6"},{"introduced":"0.10.0-alpha.1"},{"fixed":"0.10.0-rc.3"}],"type":"SEMVER"}],"versions":[],"fixed":["0.9.6","0.10.0-rc.3"]}],"sourceAffected":[],"references":["https://crates.io/crates/lettre","https://rustsec.org/advisories/RUSTSEC-2021-0069.html","https://github.com/lettre/lettre/pull/627/commits/93458d01fed0ec81c0e7b4e98e6f35961356fae2"],"sources":[{"name":"OSV","id":"RUSTSEC-2021-0069","modified":"2026-11-18T09:27:05.722281425Z","url":"https://osv.dev/vulnerability/RUSTSEC-2021-0069"}],"assessments":[],"products":[],"remediation":[],"observedAt":"2026-11-18T09:35:41.641Z","kev":{"status":"not-listed","checkedAt":"2026-11-29T00:05:30.113Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-18T09:40:34.698Z","attemptedAt":"2026-11-18T09:40:34.698Z"},{"source":"GHSA","status":"available","checkedAt":"2026-11-18T09:40:30.735Z","attemptedAt":"2026-11-18T09:40:30.735Z"},{"source":"EUVD","status":"refresh-failed","attemptedAt":"2026-11-18T09:40:30.735Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-18T09:40:34.700Z","attemptedAt":"2026-11-18T09:40:34.700Z"}],"evidence":[{"source":"GitHub Advisory Database","id":"GHSA-qc36-q22q-cjw3","url":"https://github.com/advisories/GHSA-qc36-q22q-cjw3","modified":"2023-02-03T05:06:03Z","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","checkedAt":"2026-11-18T09:40:30.735Z"},{"source":"NVD","id":"CVE-2021-38189","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38189","modified":"2026-06-17T04:01:43.500","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","checkedAt":"2026-11-18T09:40:34.698Z"},{"source":"NVD","id":"CVE-2021-38189","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38189","modified":"2026-06-17T04:01:43.500","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","checkedAt":"2026-11-18T09:40:34.698Z"},{"source":"FIRST EPSS","id":"CVE-2021-38189","url":"https://www.first.org/epss/","probability":0.01494,"percentile":0.74605,"date":"2026-11-17","checkedAt":"2026-11-18T09:40:34.700Z"}],"aiSummary":null}