Vulnerability · Published May 18, 2024 · Assigned by GitHub_M

CVE-2024-34083STARTTLS unencrypted commands injection

Medium 5.4

In plain English

A medium-severity security flaw in aiosmtpd from aio-libs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.2%top 86.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12python-aiosmtpd1.4.3-1.1+deb12u1DEBIAN-CVE-2024-34083
Debian:13python-aiosmtpd1.4.6-1DEBIAN-CVE-2024-34083
Debian:14python-aiosmtpd1.4.6-1DEBIAN-CVE-2024-34083
PyPIaiosmtpd1.4.6GHSA-wgjv-9j3q-jhg8
PyPIaiosmtpd1.4.6PYSEC-2026-1111
Ubuntu:22.04:LTSpython-aiosmtpdno fix listedUBUNTU-CVE-2024-34083
Ubuntu:24.04:LTSpython-aiosmtpdno fix listedUBUNTU-CVE-2024-34083
Ubuntu:25.10python-aiosmtpdno fix listedUBUNTU-CVE-2024-34083
Ubuntu:26.04:LTSpython-aiosmtpdno fix listedUBUNTU-CVE-2024-34083
Ubuntu:26.10python-aiosmtpdno fix listedUBUNTU-CVE-2024-34083

Affected products (as reported)

VendorProductVersions
aio-libs aiosmtpd < 1.4.6

Weakness: CWE-349 · Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

References