CVE-2026-53533
ŚrednieCVSS 6.9Prawdopodobieństwo exploitacji (EPSS)
Niskie ryzykoPercentyl 32 - wyżej niż 32% wszystkich znanych CVE
Streszczenie
aiosmtplib przed wersją 5.1.1 nie odrzuca adresów zawierających znaki CR lub LF w metodach SMTP.mail(), SMTP.rcpt(), SMTP.vrfy() i SMTP.expn(). Dane po znaku nowej linii są interpretowane jako dodatkowe komendy SMTP, co pozwala atakującemu na wstrzyknięcie komend takich jak MAIL FROM, RCPT TO, RSET, DATA lub AUTH. SMTP.sendmail() i SMTP.send() bez obiektu Message przekazują adresy przez podatne metody, podczas gdy SMTP.send_message() nie jest podatne. Udane wstrzyknięcie może zdesynchronizować potok komend, zawiesić instancję SMTP lub wysłać dowolną wiadomość bez kontroli nad serwerem SMTP.
Ocena ryzyka
Atakujący może wstrzyknąć komendy SMTP, co może prowadzić do wysyłania nieautoryzowanych wiadomości, zawieszenia usługi lub naruszenia integralności komunikacji e-mail.
Rekomendacja
Zaktualizuj aiosmtplib do wersji 5.1.1 lub nowszej.
Oryginalny opis (angielski, źródło NVD)
aiosmtplib is an asynchronous SMTP client for use with asyncio. Prior to 5.1.1, SMTP.mail(), SMTP.rcpt(), SMTP.vrfy(), and SMTP.expn() send caller-supplied addresses without rejecting embedded CR or LF bytes. Data after the line break is framed as additional standalone SMTP command lines, allowing an attacker who influences an envelope sender or recipient to inject commands such as MAIL FROM, RCPT TO, RSET, DATA, or AUTH. SMTP.sendmail() and SMTP.send() without a Message object pass addresses through the affected methods, while SMTP.send_message() is not affected. Successful injection can desynchronize the command-response pipeline, hang the SMTP instance, or send an arbitrary message without requiring attacker control of the SMTP server. This issue is fixed in version 5.1.1.

