{"id":"UBUNTU-CVE-2024-34083","details":"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.","modified":"2026-05-20T16:08:50.941592054Z","published":"2024-05-18T19:15:00Z","upstream":["CVE-2024-34083"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-34083"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-34083"},{"type":"REPORT","url":"https://github.com/aio-libs/aiosmtpd/security/advisories/GHSA-wgjv-9j3q-jhg8"},{"type":"REPORT","url":"https://github.com/aio-libs/aiosmtpd/commit/b3a4a2c6ecfd228856a20d637dc383541fcdbfda"},{"type":"REPORT","url":"https://nostarttls.secvuln.info"}],"affected":[{"package":{"name":"python-aiosmtpd","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/python-aiosmtpd?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1-3","1.1-4","1.1-5"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-aiosmtpd","binary_version":"1.1-5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-34083.json"}},{"package":{"name":"python-aiosmtpd","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/python-aiosmtpd?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2-3"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-aiosmtpd","binary_version":"1.2-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-34083.json"}},{"package":{"name":"python-aiosmtpd","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/python-aiosmtpd?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.2-1","1.4.2-3"],"ecosystem_specific":{"binaries":[{"binary_version":"1.4.2-3","binary_name":"python3-aiosmtpd"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-34083.json"}},{"package":{"name":"python-aiosmtpd","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/python-aiosmtpd?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.3-1.1","1.4.4.post2-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.4.4.post2-1","binary_name":"python3-aiosmtpd"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-34083.json"}},{"package":{"name":"python-aiosmtpd","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/python-aiosmtpd?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.6-5"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-aiosmtpd","binary_version":"1.4.6-5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-34083.json"}},{"package":{"name":"python-aiosmtpd","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/python-aiosmtpd?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.6-5","1.4.6-6"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-aiosmtpd","binary_version":"1.4.6-6"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-34083.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}