Vulnerability · Published Mar 12, 2024 · Assigned by GitHub_M
CVE-2024-27305SMTP smuggling in aiosmtpd
Medium 5.3
In plain English
A medium-severity insufficient verification of data authenticity in aiosmtpd from aio-libs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
aiosmtpd is a reimplementation of the Python stdlib smtpd.py based on asyncio. aiosmtpd is vulnerable to inbound SMTP smuggling. SMTP smuggling is a novel vulnerability based on not so novel interpretation differences of the SMTP protocol. By exploiting SMTP smuggling, an attacker may send smuggle/spoof e-mails with fake sender addresses, allowing advanced phishing attacks. This issue is also existed in other SMTP software like Postfix. With the right SMTP server constellation, an attacker can send spoofed e-mails to inbound/receiving aiosmtpd instances. This issue has been addressed in version 1.4.5. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | python-aiosmtpd | 1.4.3-1.1+deb12u1 | DEBIAN-CVE-2024-27305 |
| Debian:13 | python-aiosmtpd | 1.4.6-1 | DEBIAN-CVE-2024-27305 |
| Debian:14 | python-aiosmtpd | 1.4.6-1 | DEBIAN-CVE-2024-27305 |
| PyPI | aiosmtpd | 1.4.5 | GHSA-pr2m-px7j-xg65 |
| PyPI | aiosmtpd | 1.4.5 | PYSEC-2024-221 |
| Ubuntu:22.04:LTS | python-aiosmtpd | no fix listed | UBUNTU-CVE-2024-27305 |
| Ubuntu:24.04:LTS | python-aiosmtpd | no fix listed | UBUNTU-CVE-2024-27305 |
| Ubuntu:25.10 | python-aiosmtpd | no fix listed | UBUNTU-CVE-2024-27305 |
| Ubuntu:26.04:LTS | python-aiosmtpd | no fix listed | UBUNTU-CVE-2024-27305 |
| Ubuntu:26.10 | python-aiosmtpd | no fix listed | UBUNTU-CVE-2024-27305 |
Affected products (as reported)
Weakness: CWE-345 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
References
- https://github.com/aio-libs/aiosmtpd/security/advisories/GHSA-pr2m-px7j-xg65 x_refsource_CONFIRM
- https://github.com/aio-libs/aiosmtpd/commit/24b6c79c8921cf1800e27ca144f4f37023982bbb x_refsource_MISC
- https://www.postfix.org/smtp-smuggling.html x_refsource_MISC