{"id":"CVE-2024-34083","published":"2024-05-18T18:12:19Z","modified":"2024-08-02T02:42:59Z","title":"STARTTLS unencrypted commands injection","vendor":"aio-libs","product":"aiosmtpd","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00228,"percentile":0.1382,"provenance":"source"},"cwes":[{"id":"CWE-349","name":"Acceptance of Extraneous Untrusted Data With Trusted Data"}],"references":[{"url":"https://github.com/aio-libs/aiosmtpd/security/advisories/GHSA-wgjv-9j3q-jhg8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/aio-libs/aiosmtpd/commit/b3a4a2c6ecfd228856a20d637dc383541fcdbfda","tags":["x_refsource_MISC"]},{"url":"https://nostarttls.secvuln.info","tags":["x_refsource_MISC"]}],"priority":{"score":6.5,"factors":[{"name":"EPSS percentile","points":2.76},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"aio-libs","affectedVersions":[{"vendor":"aio-libs","product":"aiosmtpd","versions":["< 1.4.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-28T19:53:50.439283Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"aiosmtpd","vulnerableRanges":["<1.4.6"],"patched":["1.4.6"],"from":["GHSA-wgjv-9j3q-jhg8","PYSEC-2026-1111"],"provenance":"source"}],"summary":{"text":"The flaw is in the STARTTLS handling of aiosmtpd, an asyncio-based reimplementation of the Python smtpd module, where servers prior to version 1.4.6 accept extra unencrypted commands sent after the STARTTLS upgrade and treat them as if they arrived inside the encrypted session. An attacker positioned as a man-in-the-middle on the network path can exploit this by injecting plaintext commands during the TLS negotiation window, with no authentication or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:17:02Z"},"euvd":{"id":"EUVD-2024-1830","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-aio-libs-aiosmtpd-cve-2024-27305","parents":[{"from":"CVE-2024-27305","to":"CVE-2024-34083","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:aiosmtpd","fromFixed":"1.4.5","toFixed":"1.4.6","daysApart":67},{"kind":"same-code","provenance":"machine","files":["aiosmtpd/smtp.py"],"commits":["https://github.com/aio-libs/aiosmtpd/commit/24b6c79c8921cf1800e27ca144f4f37023982bbb","https://github.com/aio-libs/aiosmtpd/commit/b3a4a2c6ecfd228856a20d637dc383541fcdbfda"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2024-27305","published":"2024-03-12","fixed":"1.4.5","kev":false},{"cve":"CVE-2024-34083","published":"2024-05-18","fixed":"1.4.6","kev":false}],"package":"PyPI:aiosmtpd"}}