Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
aiosmtplib: SMTP command injection via CR/LF in sender/recipient address
Vulnerability Description
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.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:H/SA:N
Vulnerability Type
在命令中使用的特殊元素转义处理不恰当(命令注入)
Vulnerability Title
Cole Maclean aiosmtplib 命令注入漏洞
Vulnerability Description
Cole Maclean aiosmtplib是Cole Maclean个人开发者的一个异步SMTP客户端库。 Cole Maclean aiosmtplib 5.1.1之前版本存在安全漏洞,该漏洞源于SMTP.mail()、SMTP.rcpt()、SMTP.vrfy()和SMTP.expn()方法未拒绝地址中嵌入的CR或LF字节,可能导致攻击者注入额外SMTP命令,造成命令响应管道失步、SMTP实例挂起或发送任意消息。
CVSS Information
N/A
Vulnerability Type
N/A