{"answers":{"affected":"3 open source packages ship an affected version, including aiosmtpd.","exploited":"There is no known exploitation of CVE-2024-34083 in the wild and no public exploit code.","fix":"Upgrade aiosmtpd to 1.4.6 or later.","what":"CVE-2024-34083 is a medium-severity vulnerability in aio-libs aiosmtpd, published on 18 May 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-34083 and fix it if it is affected.\n\nWhat it is: CVE-2024-34083 is a medium-severity vulnerability in aio-libs aiosmtpd, published on 18 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-34083 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- aiosmtpd (PyPI): affected all versions; fixed in 1.4.6\n- aiosmtpd (PyPI): affected all versions; fixed in 1.4.6\n- aiosmtpd (PyPI): affected all versions; fixed in 1.4.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-34083/ (Markdown: https://insights.sbomify.com/CVE-2024-34083/index.md)","id":"CVE-2024-34083","markdown":"https://insights.sbomify.com/CVE-2024-34083/index.md","name":"CVE-2024-34083","record":{"aliases":["DEBIAN-CVE-2024-34083","GHSA-wgjv-9j3q-jhg8","OESA-2024-1695","OESA-2024-1696","PYSEC-2026-1111","UBUNTU-CVE-2024-34083","openSUSE-SU-2024:13984-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Python SMTP library","requires_auth":"none","summary":"Attackers can inject unencrypted commands after STARTTLS in aiosmtpd, bypassing encryption protections via man-in-the-middle attacks.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-349","name":"Acceptance of Extraneous Untrusted Data With Trusted Data"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"STARTTLS unencrypted commands injection","id":"CVE-2024-34083","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"security_feature_bypass","year":"2024"},"n_packages":3,"n_references":3,"next":{"headline":"Minder's Github Webhook Handler vulnerable to denial of service from un-validated requests","id":"CVE-2024-34084"},"packages":[{"ecosystem":"PyPI","fixed":["1.4.6"],"introduced":["0"],"last_affected":[],"package":"aiosmtpd","purl":null,"source":"GHSA-wgjv-9j3q-jhg8"},{"ecosystem":"PyPI","fixed":["1.4.6"],"introduced":["0"],"last_affected":[],"package":"aiosmtpd","purl":"pkg:pypi/aiosmtpd","source":"GHSA-wgjv-9j3q-jhg8"},{"ecosystem":"PyPI","fixed":["1.4.6"],"introduced":["0"],"last_affected":[],"package":"aiosmtpd","purl":"pkg:pypi/aiosmtpd","source":"PYSEC-2026-1111"}],"prev":{"headline":"Grav Arbitrary File Read to Account Takeover","id":"CVE-2024-34082"},"products":["aiosmtpd"],"published":"2024-05-18","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["aio-libs"]},"summary":"Attackers can inject unencrypted commands after STARTTLS in aiosmtpd, bypassing encryption protections via man-in-the-middle attacks.","url":"https://insights.sbomify.com/CVE-2024-34083/"}