RCE in Lettre
CVE-2021-38189
- CVSS v3
- 9.8 Critical
- Public exploits
- None known
- EPSS
- 0.015 · 74.7th percentile
- Published
- 2021-08-08
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)
Published · last modified .
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.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.015, 74.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Lettre — versions 0.10.0
Weakness classification (CWE)
References
- rustsec.org/advisories/RUSTSEC-2021-0069.html (Exploit, Patch, Third Party Advisory, Issue Tracking)
- raw.githubusercontent.com/rustsec/advisory-db/main/crates/lettre/RUSTSEC-2021-0… (Third Party Advisory)