{"id":"CVE-2021-38189","sourceIdentifier":"cve@mitre.org","published":"2021-08-08T06:15:08.893","lastModified":"2026-06-17T04:01:43.500","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Se ha detectado un problema en la crate lettre versiones anteriores a 0.9.6 para Rust. En el cuerpo de un mensaje de correo electrónico, un atacante puede colocar un carácter . después de dos secuencias (CR)(LF) y luego inyectar comandos SMTP arbitrario"}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10.0,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-77"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:lettre:lettre:*:*:*:*:*:rust:*:*","versionEndExcluding":"0.9.6","matchCriteriaId":"01316A21-59B8-4A08-9207-E9F4FCB804B0"},{"vulnerable":true,"criteria":"cpe:2.3:a:lettre:lettre:0.10.0:alpha1:*:*:*:rust:*:*","matchCriteriaId":"8B34BD62-3AB1-40B6-AEBB-15C0CD298925"},{"vulnerable":true,"criteria":"cpe:2.3:a:lettre:lettre:0.10.0:alpha2:*:*:*:rust:*:*","matchCriteriaId":"6D7DFF7E-BF84-41A4-B98C-077D3131094A"},{"vulnerable":true,"criteria":"cpe:2.3:a:lettre:lettre:0.10.0:alpha3:*:*:*:rust:*:*","matchCriteriaId":"D5133FCD-F567-40FC-9177-AD384015E9FD"},{"vulnerable":true,"criteria":"cpe:2.3:a:lettre:lettre:0.10.0:alpha4:*:*:*:rust:*:*","matchCriteriaId":"A5E3F87C-1713-4C5D-AAFD-BC0529AE648D"},{"vulnerable":true,"criteria":"cpe:2.3:a:lettre:lettre:0.10.0:alpha5:*:*:*:rust:*:*","matchCriteriaId":"EEE2A4E4-D834-464F-A6A4-7E06E1C2110C"},{"vulnerable":true,"criteria":"cpe:2.3:a:lettre:lettre:0.10.0:beta1:*:*:*:rust:*:*","matchCriteriaId":"7A6A221B-FE4C-4CCB-83D3-B835664499EC"},{"vulnerable":true,"criteria":"cpe:2.3:a:lettre:lettre:0.10.0:beta2:*:*:*:rust:*:*","matchCriteriaId":"DBED2BD1-4497-4E8F-9CDE-600E29CE0F20"},{"vulnerable":true,"criteria":"cpe:2.3:a:lettre:lettre:0.10.0:beta3:*:*:*:rust:*:*","matchCriteriaId":"CC28A0F2-0E4C-4F86-AEF9-AD619F41CE56"},{"vulnerable":true,"criteria":"cpe:2.3:a:lettre:lettre:0.10.0:beta4:*:*:*:rust:*:*","matchCriteriaId":"EDF7A66C-2831-4A02-921B-B528C46F6D29"},{"vulnerable":true,"criteria":"cpe:2.3:a:lettre:lettre:0.10.0:rc1:*:*:*:rust:*:*","matchCriteriaId":"744FE0A6-42D8-4FBB-B673-B7AE4BC33D3C"},{"vulnerable":true,"criteria":"cpe:2.3:a:lettre:lettre:0.10.0:rc2:*:*:*:rust:*:*","matchCriteriaId":"D2573F65-FA57-4B01-B65D-4CF57AEFEBEE"}]}]}],"references":[{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/lettre/RUSTSEC-2021-0069.md","source":"cve@mitre.org","tags":["Third Party Advisory"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0069.html","source":"cve@mitre.org","tags":["Exploit","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/lettre/RUSTSEC-2021-0069.md","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0069.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Issue Tracking","Patch","Third Party Advisory"]}]}