{"schemaVersion":3,"id":"CVE-2024-27305","aliases":["GHSA-pr2m-px7j-xg65","PYSEC-2024-221","UBUNTU-CVE-2024-27305","DEBIAN-CVE-2024-27305"],"status":"published","duplicateOf":null,"title":null,"description":"aiosmtpd is a reimplementation of the Python stdlib smtpd.py based on asyncio. aiosmtpd is vulnerable to inbound SMTP smuggling. SMTP smuggling is a novel vulnerability based on not so novel interpretation differences of the SMTP protocol. By exploiting SMTP smuggling, an attacker may send smuggle/spoof e-mails with fake sender addresses, allowing advanced phishing attacks. This issue is also existed in other SMTP software like Postfix. With the right SMTP server constellation, an attacker can send spoofed e-mails to inbound/receiving aiosmtpd instances. This issue has been addressed in version 1.4.5. Users are advised to upgrade. There are no known workarounds for this vulnerability.","dates":{"published":"2024-03-12T20:29:54.592Z","modified":"2024-08-02T00:27:59.989Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00374,"percentile":0.29932,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00374},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00374,"percentile":0.29932}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00374,"percentile":0.29932}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity","description":"The product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/345.html"}],"affected":[{"vendor":"aio-libs","product":"aiosmtpd","name":"aiosmtpd","label":"aiosmtpd","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.4.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.4.5","eol":null,"hubHref":"/vendor/aio-libs/aiosmtpd"},{"vendor":"debian","product":"python-aiosmtpd","name":"python-aiosmtpd","label":"python-aiosmtpd","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/python-aiosmtpd","purlType":"deb","versions":[{"text":"< 1.4.3-1.1+deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.4.6-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.4.3-1.1+deb12u1 | < 1.4.6-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"python-aiosmtpd","name":"python-aiosmtpd","label":"python-aiosmtpd","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/python-aiosmtpd","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"PyPI","product":"aiosmtpd","name":"aiosmtpd","label":"aiosmtpd","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/aiosmtpd","purlType":"pypi","versions":[{"text":"< 24b6c79c8921cf1800e27ca144f4f37023982bbb","noFixRecorded":false,"fixedIn":null},{"text":"< 1.4.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 24b6c79c8921cf1800e27ca144f4f37023982bbb | < 1.4.5","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/aio-libs/aiosmtpd/security/advisories/GHSA-pr2m-px7j-xg65","label":"github.com/aio-libs/aiosmtpd/security/advisories/GHSA-pr2m-px7j-xg65","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","REPORT","Vendor Advisory"]},{"url":"https://github.com/aio-libs/aiosmtpd/commit/24b6c79c8921cf1800e27ca144f4f37023982bbb","label":"github.com/aio-libs/aiosmtpd/commit/24b6c79c8921cf1800e27ca144f4f37023982bbb","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","REPORT","Patch"]},{"url":"https://www.postfix.org/smtp-smuggling.html","label":"www.postfix.org/smtp-smuggling.html","hostname":"www.postfix.org","tags":["X Refsource MISC","WEB","REPORT","Product"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27305","label":"nvd.nist.gov/vuln/detail/CVE-2024-27305","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/aio-libs/aiosmtpd","label":"github.com/aio-libs/aiosmtpd","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/aiosmtpd/PYSEC-2024-221.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/aiosmtpd/PYSEC-2024-221.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-pr2m-px7j-xg65","label":"github.com/advisories/GHSA-pr2m-px7j-xg65","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-27305","label":"ubuntu.com/security/CVE-2024-27305","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-27305","label":"www.cve.org/CVERecord?id=CVE-2024-27305","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-27305","label":"security-tracker.debian.org/tracker/CVE-2024-27305","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:0243-1","OPENSUSE-SU-2026:11675-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:0243-1","OPENSUSE-SU-2026:11675-1"]},"timeline":[{"kind":"published","date":"2024-03-12T20:29:54.592Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-02T00:27:59.989Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":21,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T11:34:21.991Z","stale":false,"partial":false}}