RCE in Lettre
CVE-2021-38189
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.
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.015 (71.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Lettre — versions 0.10.0
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org (Exploit, Patch, Third Party Advisory, x_refsource_MISC, Issue Tracking)
- cve@mitre.org (Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2021-38189?
- CVE-2021-38189 is a critical-severity vulnerability in Lettre, classified under Command Injection. CVSS score: 9.8/10. Published 2021-08-08.
- How severe is CVE-2021-38189?
- Critical severity. CVSS v3 base score is 9.8 out of 10.