CVE-2021-38189
CVSS V2 High 7.5
CVSS V3 Critical 9.8
Description
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.
Overview
- CVE ID
- CVE-2021-38189
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2021-08-08T06:15:08
- Last Modified Date
- 2021-08-16T19:15:48
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:lettre:lettre:*:*:*:*:*:rust:*:* | 1 | OR | 0.9.6 | |
cpe:2.3:a:lettre:lettre:0.10.0:alpha1:*:*:*:rust:*:* | 1 | OR | ||
cpe:2.3:a:lettre:lettre:0.10.0:alpha2:*:*:*:rust:*:* | 1 | OR | ||
cpe:2.3:a:lettre:lettre:0.10.0:alpha3:*:*:*:rust:*:* | 1 | OR | ||
cpe:2.3:a:lettre:lettre:0.10.0:alpha4:*:*:*:rust:*:* | 1 | OR | ||
cpe:2.3:a:lettre:lettre:0.10.0:alpha5:*:*:*:rust:*:* | 1 | OR | ||
cpe:2.3:a:lettre:lettre:0.10.0:beta1:*:*:*:rust:*:* | 1 | OR | ||
cpe:2.3:a:lettre:lettre:0.10.0:beta2:*:*:*:rust:*:* | 1 | OR | ||
cpe:2.3:a:lettre:lettre:0.10.0:beta3:*:*:*:rust:*:* | 1 | OR | ||
cpe:2.3:a:lettre:lettre:0.10.0:beta4:*:*:*:rust:*:* | 1 | OR | ||
cpe:2.3:a:lettre:lettre:0.10.0:rc1:*:*:*:rust:*:* | 1 | OR | ||
cpe:2.3:a:lettre:lettre:0.10.0:rc2:*:*:*:rust:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 7.5
- Severity
- HIGH
- Exploitability Score
- 10
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 9.8
- Base Severity
- CRITICAL
- Exploitability Score
- 3.9
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://rustsec.org/advisories/RUSTSEC-2021-0069.html | Exploit Issue Tracking Patch Third Party Advisory |
https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/lettre/RUSTSEC-2021-0069.md | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-38189 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-38189 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:57:02 | Added to TrackCVE | |||
2022-12-05 07:40:23 | 2021-08-08T06:15Z | 2021-08-08T06:15:08 | CVE Published Date | updated |
2022-12-05 07:40:23 | 2021-08-16T19:15:48 | CVE Modified Date | updated | |
2022-12-05 07:40:23 | Analyzed | Vulnerability Status | updated |