{"id":"CVE-2024-34083","aliases":["CVE-2024-34083","GHSA-wgjv-9j3q-jhg8","PYSEC-2026-1111"],"related":[],"kind":"vulnerability","state":"published","title":"STARTTLS unencrypted commands injection","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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/)","format":"markdown","source":"ghsa"},{"lang":"es","text":"aiosmptd es una reimplementación de Python stdlib smtpd.py basada en asyncio. Antes de la versión 1.4.6, los servidores basados en aiosmtpd aceptaban comandos adicionales no cifrados después de STARTTLS, tratándolos como si provinieran del interior de la conexión cifrada. Esto podría aprovecharse mediante un man in the middle. La versión 1.4.6 contiene un parche para el problema.","source":"nvd"}],"published":"2024-05-18T18:12:19.442Z","modified":"2026-07-07T17:56:11.074Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-349"],"affected":[{"ranges":[{"version":"< 1.4.6","status":"affected"}],"vendor":"aio-libs","product":"aiosmtpd","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"1.4.6","status":"affected"}],"vendor":"aio-libs","product":"aiosmtpd","cpe":"cpe:2.3:a:aio-libs:aiosmtpd:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.4.6"}],"ecosystem":"PyPI","package":"aiosmtpd","purl":"pkg:pypi/aiosmtpd","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.4.6"}],"ecosystem":"PyPI","package":"aiosmtpd","purl":"pkg:pypi/aiosmtpd","source":"pysec"}],"references":[{"url":"https://github.com/aio-libs/aiosmtpd/security/advisories/GHSA-wgjv-9j3q-jhg8","tags":["web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/aio-libs/aiosmtpd/commit/b3a4a2c6ecfd228856a20d637dc383541fcdbfda","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nostarttls.secvuln.info","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34083","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/aio-libs/aiosmtpd","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/aiosmtpd","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-wgjv-9j3q-jhg8","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-28T19:53:50.439Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-34083","url":"https://www.cve.org/CVERecord?id=CVE-2024-34083","licence":"CVE Terms of Use","modified":"2024-08-02T02:42:59.884Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wgjv-9j3q-jhg8","url":"https://github.com/advisories/GHSA-wgjv-9j3q-jhg8","licence":"CC-BY-4.0","modified":"2026-07-07T17:56:11.074Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-34083","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34083","licence":"Public domain","modified":"2026-06-17T07:32:52.340Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1111","url":"https://osv.dev/vulnerability/PYSEC-2026-1111","licence":"CC-BY-4.0","modified":"2026-07-07T17:46:10.952Z"}],"updatedAt":"2026-11-25T22:58:40.565Z","epss":{"score":0.00228,"percentile":0.14487,"date":"2026-12-01T12:00:22.000Z"}}