Advisory

PYSEC-2024-221

Also known as: CVE-2024-27305, GHSA-pr2m-px7j-xg65

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 5.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Dates

Published
2024-03-12 21:15 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: PyPA Advisory Database · CC BY 4.0

Sources & licences