RUSTSEC-2021-0069
Dashboard / Vulnerabilities / RUSTSEC-2021-0069
RUSTSEC-2021-0069
Published: 22 May 2021Last Modified: 8 Nov 2023
Aliases:
Summary: SMTP command injection in body
Details: Affected versions of lettre allowed SMTP command injection through an attacker's controlled message body. The module for escaping lines starting with a period wouldn't catch a period that was placed after a double CRLF sequence, allowing the attacker to end the current message and write arbitrary SMTP commands after it. The flaw is fixed by correctly handling consecutive CRLF sequences.
References: https://crates.io/crates/lettre, https://rustsec.org/advisories/RUSTSEC-2021-0069.html, https://github.com/lettre/lettre/pull/627/commits/93458d01fed0ec81c0e7b4e98e6f35961356fae2
Affected packages
Package
Name: lettre
Purl: pkg:cargo/lettre
Affected ranges
Type: SEMVER
Events:
Introduced- 0.7.0
Fixed -0.9.6
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
