Vulnerability Details : CVE-2021-38189
Potential exploit
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.
Products affected by CVE-2021-38189
- cpe:2.3:a:lettre:lettre:*:*:*:*:*:rust:*:*
- cpe:2.3:a:lettre:lettre:0.10.0:alpha1:*:*:*:rust:*:*
- cpe:2.3:a:lettre:lettre:0.10.0:alpha2:*:*:*:rust:*:*
- cpe:2.3:a:lettre:lettre:0.10.0:alpha3:*:*:*:rust:*:*
- cpe:2.3:a:lettre:lettre:0.10.0:alpha4:*:*:*:rust:*:*
- cpe:2.3:a:lettre:lettre:0.10.0:alpha5:*:*:*:rust:*:*
- cpe:2.3:a:lettre:lettre:0.10.0:beta1:*:*:*:rust:*:*
- cpe:2.3:a:lettre:lettre:0.10.0:beta2:*:*:*:rust:*:*
- cpe:2.3:a:lettre:lettre:0.10.0:beta3:*:*:*:rust:*:*
- cpe:2.3:a:lettre:lettre:0.10.0:beta4:*:*:*:rust:*:*
- cpe:2.3:a:lettre:lettre:0.10.0:rc1:*:*:*:rust:*:*
- cpe:2.3:a:lettre:lettre:0.10.0:rc2:*:*:*:rust:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-38189
0.48%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 62 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-38189
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2021-38189
-
The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-38189
-
https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/lettre/RUSTSEC-2021-0069.md
Third Party Advisory
-
https://rustsec.org/advisories/RUSTSEC-2021-0069.html
RUSTSEC-2021-0069: lettre: SMTP command injection in body › RustSec Advisory DatabaseExploit;Issue Tracking;Patch;Third Party Advisory
Jump to