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.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.4%top 68.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12python-aiosmtpd1.4.3-1.1+deb12u1DEBIAN-CVE-2024-27305
Debian:13python-aiosmtpd1.4.6-1DEBIAN-CVE-2024-27305
Debian:14python-aiosmtpd1.4.6-1DEBIAN-CVE-2024-27305
PyPIaiosmtpd1.4.5GHSA-pr2m-px7j-xg65
PyPIaiosmtpd1.4.5PYSEC-2024-221
Ubuntu:22.04:LTSpython-aiosmtpdno fix listedUBUNTU-CVE-2024-27305
Ubuntu:24.04:LTSpython-aiosmtpdno fix listedUBUNTU-CVE-2024-27305
Ubuntu:25.10python-aiosmtpdno fix listedUBUNTU-CVE-2024-27305
Ubuntu:26.04:LTSpython-aiosmtpdno fix listedUBUNTU-CVE-2024-27305
Ubuntu:26.10python-aiosmtpdno fix listedUBUNTU-CVE-2024-27305

Affected products (as reported)

VendorProductVersions
aio-libs aiosmtpd < 1.4.5

Weakness: CWE-345 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

References