{"id":"CVE-2024-34083","aliases":["DEBIAN-CVE-2024-34083","EUVD-2024-1830","GHSA-wgjv-9j3q-jhg8","OESA-2024-1695","OESA-2024-1696","PYSEC-2026-1111","UBUNTU-CVE-2024-34083","openSUSE-SU-2024:0243-1","openSUSE-SU-2024:13984-1","openSUSE-SU-2026:11675-1"],"status":"published","title":"STARTTLS unencrypted commands injection","description":"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.","severity":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00228,"percentile":0.13617,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-349"],"published":"2024-05-18T18:12:19Z","modified":"2026-11-02T12:02:21Z","fixes":[{"ecosystem":"PyPI","package":"aiosmtpd","fixed_in":["1.4.6"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"python-aiosmtpd","fixed_in":["1.4.3-1.1+deb12u1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"python-aiosmtpd","fixed_in":["1.4.6-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"python-aiosmtpd","fixed_in":["1.4.6-1"],"sources":["osv"]},{"ecosystem":"openEuler:22.03-LTS-SP1","package":"python-aiosmtpd","fixed_in":["1.4.6-1.oe2203sp1"],"sources":["osv"]},{"ecosystem":"openEuler:22.03-LTS-SP3","package":"python-aiosmtpd","fixed_in":["1.4.6-1.oe2203sp3"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"aiosmtpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.6"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"python-aiosmtpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.3-1.1+deb12u1"}]}],"versions":["1.4.3-1.1"]},{"source":"osv","ecosystem":"Debian:13","package":"python-aiosmtpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.6-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"python-aiosmtpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.6-1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"aiosmtpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.6"}]}],"versions":["1.0","1.0a1","1.0a2","1.0a3","1.0a4","1.0a5","1.0b1","1.0rc1","1.1","1.2","1.2.2","1.2.4","1.3.0","1.3.1","1.3.2","1.4.0","1.4.1","1.4.2","1.4.3","1.4.3rc1","1.4.3rc2","1.4.4","1.4.4.post1","1.4.4.post2","1.4.5"]},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP1","package":"python-aiosmtpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.6-1.oe2203sp1"}]}]},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP3","package":"python-aiosmtpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.6-1.oe2203sp3"}]}]},{"source":"osv","ecosystem":"PyPI","package":"aiosmtpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.6"}]}],"versions":["1.0","1.0a1","1.0a2","1.0a3","1.0a4","1.0a5","1.0b1","1.0rc1","1.1","1.2","1.2.2","1.2.4","1.3.0","1.3.1","1.3.2","1.4.0","1.4.1","1.4.2","1.4.3","1.4.3rc1","1.4.3rc2","1.4.4","1.4.4.post1","1.4.4.post2","1.4.5"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"python-aiosmtpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1-3","1.1-4","1.1-5"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"python-aiosmtpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2-3"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"python-aiosmtpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.2-1","1.4.2-3"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"python-aiosmtpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.3-1.1","1.4.4.post2-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"python-aiosmtpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.6-5"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"python-aiosmtpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.6-6","1.4.6-7"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"python-aiosmtpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.6-5","1.4.6-6"]},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP5","package":"python-aiosmtpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.1-bp155.3.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Leap 15.5","package":"python-aiosmtpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.1-bp155.3.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"python-aiosmtpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.6-6.1"}]}],"bundled":2}],"products":[{"vendor":"aio-libs","product":"aiosmtpd"}],"references":[{"url":"https://github.com/aio-libs/aiosmtpd/security/advisories/GHSA-wgjv-9j3q-jhg8","tags":["x_refsource_CONFIRM","x_transferred","advisory","web","report"]},{"url":"https://github.com/aio-libs/aiosmtpd/commit/b3a4a2c6ecfd228856a20d637dc383541fcdbfda","tags":["x_refsource_MISC","x_transferred","fix","web","report"]},{"url":"https://nostarttls.secvuln.info","tags":["x_refsource_MISC","x_transferred","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34083","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-wgjv-9j3q-jhg8","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34083.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-34083","tags":["advisory"]},{"url":"https://github.com/aio-libs/aiosmtpd","tags":["package"]},{"url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1695","tags":["advisory"]},{"url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1696","tags":["advisory"]},{"url":"https://pypi.org/project/aiosmtpd","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2024-34083","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-34083","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/G642S3M3RN5DHIPCAJBHQAPH7Q6QWPX2/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1221328","tags":["report"]},{"url":"https://bugzilla.suse.com/1224467","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2024-27305","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-34083","tags":["web"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2024-34083","title":"STARTTLS unencrypted commands injection","description":"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.","status":"published","published":"2024-05-18T18:12:19.442Z","modified":"2024-08-02T02:42:59.884Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-349"],"updated_at":"2026-11-02T14:34:23.193864Z"}],"euvd":[{"id":"EUVD-2024-1830","description":"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.","status":"published","published":"2024-05-18T18:12:19Z","modified":"2024-08-02T02:42:59Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-03T03:50:21.908049Z"}],"ghsa":[{"id":"GHSA-wgjv-9j3q-jhg8","title":"aiosmtpd STARTTLS unencrypted commands injection","description":"### Summary\nServers 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 MitM attack.\n\n### References\n* [NO STARTTLS: Similar vulnerabilities discovered by previous researchers.](https://nostarttls.secvuln.info/)","status":"published","published":"2024-05-20T14:59:07Z","modified":"2024-05-20T14:59:08Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-349"],"updated_at":"2026-11-02T14:37:50.750599Z"}],"nvd":[{"id":"CVE-2024-34083","description":"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.","status":"published","published":"2024-05-18T19:15:49.19Z","modified":"2026-06-17T07:32:52.34Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-349"],"updated_at":"2026-11-02T14:10:01.327642Z"}],"osv":[{"id":"CVE-2024-34083","title":"STARTTLS unencrypted commands injection","description":"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.","status":"published","published":"2024-05-18T18:12:19.442Z","modified":"2026-10-28T02:30:25.685417626Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-349"],"updated_at":"2026-11-02T15:44:40.391953Z"},{"id":"DEBIAN-CVE-2024-34083","description":"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.","status":"published","published":"2024-05-18T19:15:49.19Z","modified":"2026-11-02T12:02:21.628942205Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:42.530184Z"},{"id":"GHSA-wgjv-9j3q-jhg8","title":"aiosmtpd STARTTLS unencrypted commands injection","description":"### Summary\nServers 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 MitM attack.\n\n### References\n* [NO STARTTLS: Similar vulnerabilities discovered by previous researchers.](https://nostarttls.secvuln.info/)","status":"published","published":"2024-05-20T14:59:07Z","modified":"2026-07-07T17:56:11.074488278Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-349"],"updated_at":"2026-11-02T15:46:58.767335Z"},{"id":"OESA-2024-1695","title":"python-aiosmtpd security update","description":"This is a server for SMTP and related protocols, similar in utility to the standard library\u0026apos;s smtpd.py module, but rewritten to be based on asyncio for Python 3.\r\n\r\nSecurity Fix(es):\r\n\r\naiosmptd 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.(CVE-2024-34083)","status":"published","published":"2024-06-07T11:07:09Z","modified":"2026-08-18T01:17:23.461415964Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:52:41.095407Z"},{"id":"OESA-2024-1696","title":"python-aiosmtpd security update","description":"This is a server for SMTP and related protocols, similar in utility to the standard library\u0026apos;s smtpd.py module, but rewritten to be based on asyncio for Python 3.\r\n\r\nSecurity Fix(es):\r\n\r\naiosmptd 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.(CVE-2024-34083)","status":"published","published":"2024-06-07T11:07:09Z","modified":"2026-08-18T01:17:23.263518252Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:52:41.095407Z"},{"id":"PYSEC-2026-1111","title":"aiosmtpd STARTTLS unencrypted commands injection","description":"### Summary\nServers 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 MitM attack.\n\n### References\n* [NO STARTTLS: Similar vulnerabilities discovered by previous researchers.](https://nostarttls.secvuln.info/)","status":"published","published":"2026-07-07T11:45:42.81939Z","modified":"2026-07-07T17:46:10.952069511Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:52:54.622769Z"},{"id":"UBUNTU-CVE-2024-34083","description":"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.","status":"published","published":"2024-05-18T19:15:00Z","modified":"2026-10-17T12:56:44.851542521Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T16:54:50.784131Z"},{"id":"openSUSE-SU-2024:0243-1","title":"Security update for python-aiosmtpd","description":"This update for python-aiosmtpd fixes the following issues:\n\n- CVE-2024-34083: Fixed MiTM attack could inject extra unencrypted commands after STARTTLS (boo#1224467)\n- CVE-2024-27305: Fixed SMTP smuggling (boo#1221328)\n","status":"published","published":"2024-08-16T04:02:47Z","modified":"2026-02-04T04:22:34.008704Z","updated_at":"2026-11-02T16:58:33.135986Z"},{"id":"openSUSE-SU-2024:13984-1","title":"python310-aiosmtpd-1.4.6-1.1 on GA media","description":"These are all security issues fixed in the python310-aiosmtpd-1.4.6-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:01:35.423018Z","updated_at":"2026-11-02T16:58:36.662953Z"},{"id":"openSUSE-SU-2026:11675-1","title":"python313-aiosmtpd-1.4.6-6.1 on GA media","description":"These are all security issues fixed in the python313-aiosmtpd-1.4.6-6.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-09-02T00:00:00Z","modified":"2026-09-03T10:00:09.523641028Z","updated_at":"2026-11-02T16:58:39.516824Z"}]}}
