CVE-2024-27305 SMTP smuggling in aiosmtpd

Medium 5.3 Published Updated

Attackers can spoof sender addresses in inbound emails via SMTP smuggling, enabling phishing attacks against aiosmtpd users.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-27305?

CVE-2024-27305 is a medium-severity vulnerability in aio-libs aiosmtpd, published on 12 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-345

Which versions are affected by CVE-2024-27305?

3 open source packages ship an affected version, including aiosmtpd. It affects 1 product.

PackageAffectedFixed in
aiosmtpd PyPIAll versions1.4.5
aiosmtpd PyPIAll versions1.4.5
aiosmtpd PyPIAll versions1.4.5

Products include Aio-Libs Aiosmtpd.

How do I fix CVE-2024-27305?

Upgrade aiosmtpd to 1.4.5 or later.

Is CVE-2024-27305 being exploited?

There is no known exploitation of CVE-2024-27305 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2024-27305, GHSA-pr2m-px7j-xg65, OESA-2024-1276, OESA-2024-1320, OESA-2024-1321, OESA-2024-1322 and 3 more.

Is CVE-2024-27305 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free