Red Hat VEX
RHVEX-CVE-2024-6923
cpython: python: email module doesn't properly quotes newlines in email headers, allowing header injection
Details
A vulnerability was found in the email module that uses Python language. The email module doesn't properly quote new lines in email headers. This flaw allows an attacker to inject email headers that could, among other possibilities, add hidden email destinations or inject content into the email, impacting data confidentiality and integrity.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:6 | python | All versions, will not be fixed |
| Red Hat:enterprise_linux:6 | python-devel | All versions, will not be fixed |
| Red Hat:enterprise_linux:6 | python-libs | All versions, will not be fixed |
| Red Hat:enterprise_linux:6 | python-test | All versions, will not be fixed |
| Red Hat:enterprise_linux:6 | python-tools | All versions, will not be fixed |
| Red Hat:enterprise_linux:6 | tkinter | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | python | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | python-debug | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | python-devel | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | python-libs | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | python-test | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | python-tools | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | python3 | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | python3-debug | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | python3-devel | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | python3-idle | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | python3-libs | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | python3-test | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | python3-tkinter | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | tkinter | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python2 | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python2-debug | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python2-devel | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python2-libs | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python2-test | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python2-tkinter | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python2-tools | All versions, will not be fixed |
References
- https://access.redhat.com/security/cve/CVE-2024-6923
- https://bugzilla.redhat.com/show_bug.cgi?id=2302255
- https://www.cve.org/CVERecord?id=CVE-2024-6923
- https://nvd.nist.gov/vuln/detail/CVE-2024-6923
- https://github.com/python/cpython/issues/121650
- https://github.com/python/cpython/pull/122233
- https://mail.python.org/archives/list/[email protected]/thread/QH3BUOE2DYQBWP7NAQ7UNHPPOELKISRW/