Skip to content
Heist/ feed
Back to feed
Medium

STARTTLS unencrypted commands injection

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-34083
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 04:02 UTC · Revision 1

Source evidence

STARTTLS unencrypted commands injection

core-osv · Original source

Published 18 May 2024, 18:12 UTC

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.

osv:CVE-2024-34083
Complete source record
{
  "id": "2d728aacbfad212d189615620433538aced560729a3a4d9bc9c54df00e3e3ed2",
  "url": "https://osv.dev/vulnerability/CVE-2024-34083",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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.",
    "evidence": "osv:CVE-2024-34083",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-34083",
      "aliases": [
        "CVE-2024-34083",
        "GHSA-wgjv-9j3q-jhg8",
        "PYSEC-2026-1111"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/aio-libs/aiosmtpd",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "f40ac96bfa6a77b593492939049729f46d141767"
                },
                {
                  "fixed": "b3a4a2c6ecfd228856a20d637dc383541fcdbfda"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.4.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "b3a4a2c6ecfd228856a20d637dc383541fcdbfda"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.4.5",
            "1.4.4.post2",
            "1.4.4",
            "1.4.3",
            "1.4.3rc2",
            "1.4.3rc1",
            "1.4.2",
            "1.4.1",
            "1.4.0",
            "1.3.2",
            "1.3.1",
            "1.3.0",
            "1.3.0a3",
            "1.3.0a2",
            "1.2.4",
            "1.2.3",
            "1.2.2",
            "1.2.1",
            "1.2-rc",
            "1.2",
            "1.1",
            "1.0",
            "1.0rc1",
            "1.0b1",
            "1.0a5",
            "1.0a4",
            "1.0a3",
            "1.0a2",
            "1.0a1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-34083.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.685417626Z",
      "provider": "osv",
      "references": [
        "https://nostarttls.secvuln.info",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34083.json",
        "https://github.com/aio-libs/aiosmtpd/security/advisories/GHSA-wgjv-9j3q-jhg8",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-34083",
        "https://github.com/aio-libs/aiosmtpd/commit/b3a4a2c6ecfd228856a20d637dc383541fcdbfda"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-349"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34083.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-34083",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492380,
  "published_at": "2024-05-18T18:12:19.442+00:00"
}