{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-6923","id":"CVE-2024-6923","title":"Email header injection due to unquoted newlines","description":"There is a MEDIUM severity vulnerability affecting CPython.\n\nThe \nemail module didn’t properly quote newlines for email headers when \nserializing an email message allowing for header injection when an email\n is serialized.","descriptionLong":"There is a MEDIUM severity vulnerability affecting CPython.\n\nThe \nemail module didn’t properly quote newlines for email headers when \nserializing an email message allowing for header injection when an email\n is serialized.","published":"2024-08-01T13:40:11.069Z","updated":"2026-11-11T10:47:18.622571115Z","reserved":"2024-07-19T15:32:46.458Z","status":"Deferred","rejected":false,"assigner":"PSF","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","rating":"medium","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","rating":"medium","source":"OSV"}],"rating":"medium","products":["Python Software Foundation CPython"],"affectedProducts":[{"vendor":"Python Software Foundation","product":"CPython","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"3.8.20","status":"affected","versionType":"python"},{"version":"3.9.0","lessThan":"3.9.20","status":"affected","versionType":"python"},{"version":"3.10.0","lessThan":"3.10.15","status":"affected","versionType":"python"},{"version":"3.11.0","lessThan":"3.11.10","status":"affected","versionType":"python"},{"version":"3.12.0","lessThan":"3.12.5","status":"affected","versionType":"python"},{"version":"3.13.0a1","lessThan":"3.13.0rc2","status":"affected","versionType":"python"}],"platforms":[]}],"packages":[],"cwes":["CWE-94"],"aliases":["BIT-libpython-2024-6923","BIT-python-2024-6923","BIT-python-min-2024-6923","PSF-2024-8"],"references":[{"url":"https://github.com/python/cpython/pull/122233","tags":["patch","fix","web"]},{"url":"https://github.com/python/cpython/issues/121650","tags":["issue-tracking","report"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/QH3BUOE2DYQBWP7NAQ7UNHPPOELKISRW/","tags":["vendor-advisory","advisory"]},{"url":"https://github.com/python/cpython/commit/4766d1200fdf8b6728137aa2927a297e224d5fa7","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/4aaa4259b5a6e664b7316a4d60bdec7ee0f124d0","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/06f28dc236708f72871c64d4bc4b4ea144c50147","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/b158a76ce094897c870fb6b3de62887b7ccc33f1","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/f7be505d137a22528cb0fc004422c0081d5d90e6","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/f7c0f09e69e950cf3c5ada9dbde93898eb975533","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/097633981879b3c9de9a1dd120d3aa585ecc2384","tags":["patch","fix"]},{"url":"http://www.openwall.com/lists/oss-security/2024/08/01/3","tags":["web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/08/02/2","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20240926-0003/","tags":["advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00005.html","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6923.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6923","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.011,"epssPercentile":0.66324,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-6923","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6923","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-6923","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-6923","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["python"],"critical":[],"attention":null}