CVE-2024-27305
MEDIUM 5.3CVSS 3.1aiosmtpd vulnerable to SMTP smuggling
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.
- Published
- 12 Mar 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-345
- Also known as
- GHSA-pr2m-px7j-xg65PYSEC-2024-221
- Sources
- NVDJSONOSV GHSA-pr2m-px7j-xg65JSONOSV PYSEC-2024-221JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | aio-libs | aiosmtpdcpe:2.3:a:aio-libs:aiosmtpd:*:*:*:*:*:*:*:* |
< 1.4.5 | 1.4.5 |
| OSV | PyPI | aiosmtpd | < 1.4.5 | 1.4.5 |
References
- https://github.com/aio-libs/aiosmtpd/commit/24b6c79c8921cf1800e27ca144f4f37023982bbb · Patch, WEB, FIX
- https://github.com/aio-libs/aiosmtpd/security/advisories/GHSA-pr2m-px7j-xg65 · Vendor Advisory, WEB, ADVISORY
- https://www.postfix.org/smtp-smuggling.html · Product, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-27305 · ADVISORY
- https://github.com/aio-libs/aiosmtpd · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/aiosmtpd/PYSEC-2024-221.yaml · WEB
- https://github.com/advisories/GHSA-pr2m-px7j-xg65 · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 12 Mar 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 12 Mar 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Mar 2024)