RUSTSEC-2021-0069: SMTP command injection in body
- Source:
- OSV.dev
- Published:
- Fetched:
- Updated:
- Affects:
- lettre
https://osv.dev/vulnerability/RUSTSEC-2021-0069 ↗
SMTP command injection in body 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. Affected: crates.io:lettre Fixed in: 0.9.6, 0.10.0-rc.3 References: https://crates.io/crates/lettre https://rustsec.org/advisories/RUSTSEC-2021-0069.html https://github.com/lettre/lettre/pull/627/commits/93458d01fed0ec81c0e7b4e98e6f35961356fae2