Advisory

GHSA-pr2m-px7j-xg65

Also known as: CVE-2024-27305, PYSEC-2024-221

Summary

aiosmtpd vulnerable to SMTP smuggling

Details

Summary
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 also existed in other SMTP software like Postfix (https://www.postfix.org/smtp-smuggling.html).

Details
Detailed information on SMTP smuggling can be found in the full blog post (https://sec-consult.com/blog/detail/smtp-smuggling-spoofing-e-mails-worldwide/) or on the Postfix homepage (https://www.postfix.org/smtp-smuggling.html). (and soon on the official website https://smtpsmuggling.com/)

Impact
With the right SMTP server constellation, an attacker can send spoofed e-mails to inbound/receiving aiosmtpd instances.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-03-13 15:33 UTC
Modified
2026-06-10 17:14 UTC

Affected packages and fixes

aiosmtpd

PyPI · All systems

Affected

  • introduced 0, fixed 1.4.5 (ecosystem)

Fixed versions

1.4.5

Fix

  • Fixed version 1.4.5
    pip install --upgrade aiosmtpd==1.4.5

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences