CVE-2024-34083 json
STARTTLS unencrypted commands injection
published 2024-05-18 2 y ago modified 2026-07-07 4 mo ago also EUVD-2024-1830 , GHSA-wgjv-9j3q-jhg8 , PYSEC-2026-1111
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 13%
- public exploits
- 0
- none known
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.
Patch / fix
- pypi aiosmtpd 1.4.6
- aio-libs aiosmtpd 1.4.6
- python-aiosmtpd Debian 12 1.4.3-1.1+deb12u1
- python-aiosmtpd Debian 14, Debian 13 1.4.6-1
debian advisories DEBIAN-CVE-2024-34083
- python-aiosmtpd openSUSE Tumbleweed 1.4.6-6.1
- python-aiosmtpd Package Hub 15 SP5, openSUSE Leap 15.5 1.2.1-bp155.3.3.1
opensuse advisories openSUSE-SU-2026:11675-1openSUSE-SU-2024:0243-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-34083 updated cvss 5.4
aiosmtpd: servers based on aiosmtpd accept extra unencrypted commands
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.23% chance of exploitation in the next 30 days, higher than 13% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| OSV | 3.1 | 5.4 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | aiosmtpd | <1.4.6 |
1.4.6 |
Affected products
- aio-libs aiosmtpd
Classification
- Weakness
-
- CWE-349 Acceptance of Extraneous Untrusted Data With Trusted Data
References
-
github.com
/aio-libs/aiosmtpd/commit/b3a4a2c6ecfd228856a20d637dc383541fcdbfda
web
-
github.com
/aio-libs/aiosmtpd/security/advisories/GHSA-wgjv-9j3q-jhg8
web
-
nostarttls.secvuln.info
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-34083
advisory
-
github.com
/aio-libs/aiosmtpd
package
-
pypi.org
/project/aiosmtpd
package
-
github.com
/advisories/GHSA-wgjv-9j3q-jhg8
advisory
Sources
- CVE List CVE-2024-34083
- GitHub Advisory GHSA-wgjv-9j3q-jhg8
- NVD CVE-2024-34083
- OSV PYSEC-2026-1111
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.