STARTTLS unencrypted commands injection
Key facts
- Attack vector
- Adjacent network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
aiosmptd is a reimplementation of the Python stdlib smtpd.py based on asyncio. Prior to version 1.4.6, servers based on aiosmtpd accept extra unencrypted commands after STARTTLS, treating them as if they came from inside the encrypted connection. This could be exploited by a man-in-the-middle attack. Version 1.4.6 contains a patch for the issue.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| aio-libs | aiosmtpd | before 1.4.6 | 1.4.6 | Patch available | CNA |
| — | aiosmtpd (PyPI) | before 1.4.6 | 1.4.6 | Patch available | GHSA-wgjv-9j3q-jhg8 |
- aiosmtpd Vendoraio-libs Affected before 1.4.6 Fixed in 1.4.6 Patch available CNA
- aiosmtpd (PyPI) Vendor— Affected before 1.4.6 Fixed in 1.4.6 Patch available GHSA-wgjv-9j3q-jhg8
Remediation
- Fix · CNA aiosmtpd (aio-libs) Fixed in 1.4.6
- Fix · GHSA-wgjv-9j3q-jhg8 aiosmtpd (PyPI) Fixed in 1.4.6 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2024-34083
- 2026-10-03 Alias added: GHSA-wgjv-9j3q-jhg8
References
More aio-libs vulnerabilities
- TI-2025-38826 aiomysql allows arbitrary access to client files through vulnerability of a malicious MySQL server CVSS 4.0HIGH 8.2
- TI-2024-15436 aiohttp.web.static(follow_symlinks=True) is vulnerable to directory traversal CVSS 3.1HIGH 7.5
- TI-2023-25769 Request smuggling in aiohttp CVSS 3.1HIGH 7.5
- TI-2023-18906 aiohttp vulnerable to HTTP request smuggling CVSS 3.1HIGH 7.5
- TI-2023-26746 aiohttp's ClientSession is vulnerable to CRLF injection via version CVSS 3.1HIGH 7.2
- TI-2026-66145 Multidict: Reference leak in CIMultiDict/MultiDict items-view union and subtraction CVSS 3.1MEDIUM 5.3
Sources
- CVE-2024-34083 · CVE Program
- CVE-2024-34083 · NVD
- FIRST EPSS
- GHSA-wgjv-9j3q-jhg8 · GitHub Advisory Database · CC BY 4.0
- CVE-2024-34083 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences