Описание
SMTP command injection in lettre
Impact
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.
Fix
The flaw is fixed by correctly handling consecutive CRLF sequences.
References
Ссылки
Пакеты
Наименование
lettre
rust
Затронутые версииВерсия исправления
>= 0.7.0, < 0.9.6
0.9.6
Связанные уязвимости
CVSS3: 9.8
nvd
больше 4 лет назад
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.