CVE-2024-6923
Vulnerability Summary
Timeline
Description
There is a MEDIUM severity vulnerability affecting CPython. The email module didn’t properly quote newlines for email headers when serializing an email message allowing for header injection when an email is serialized.
CVSS Metrics
- v3.1•MEDIUM•Score: 5.5CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
- v3.1•MEDIUM•Score: 6.8CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
EPSS Trends
Current EPSS score: 1.10%• Percentile: 64%
Techniques & Countermeasures
- CWE-94•Improper Control of Generation of Code ('Code Injection')
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Affected Systems
- alpine•python3
< 3.10.15-r0 | < 3.11.10-r0 | < 3.11.10-r0 | < 3.12.6-r0 | < 3.12.5-r0 | < 3.12.5-r0 | < 3.12.5-r0 | < 3.12.5-r0
- chainguard•nodejs-18
< 18.20.8-r4
- chainguard•nodejs-20
< 20.19.5-r0
- chainguard•nodejs-22
< 22.21.1-r0 | < 22.21.1-r1
- chainguard•python-3.10
< 3.10.15-r0
- chainguard•python-3.11
< 3.11.10-r0
- chainguard•python-3.12
< 3.12.5-r0
- chainguard•python-3.9
< 3.9.20-r0
- wolfi•nodejs-18
< 18.20.8-r4
- wolfi•nodejs-20
< 20.19.5-r0
- wolfi•nodejs-22
< 22.21.1-r0 | < 22.21.1-r1
- wolfi•python-3.10
< 3.10.15-r0
- wolfi•python-3.11
< 3.11.10-r0
- wolfi•python-3.12
< 3.12.5-r0
- debian•pypy3
< 7.3.5+dfsg-2+deb11u5 | all | < 7.3.18+dfsg-1 | < 7.3.18+dfsg-1
- debian•python2.7
all
- debian•python3.11
< 3.11.2-6+deb12u5
- debian•python3.13
< 3.13.0~rc2-1 | < 3.13.0~rc2-1
- debian•python3.9
< 3.9.2-1+deb11u2
- ubuntu•python2.7
< 2.7.6-8ubuntu0.6+esm21 | < 2.7.12-1ubuntu0~16.04.18+esm12 | < 2.7.17-1~18.04ubuntu1.13+esm7 | < 2.7.18-1~20.04.5 | < 2.7.18-13ubuntu1.3
- ubuntu•python3.10
< 3.10.12-1~22.04.6
- ubuntu•python3.11
all | all
- ubuntu•python3.12
< 3.12.3-1ubuntu0.2
- ubuntu•python3.4
all
- ubuntu•python3.5
all
- ubuntu•python3.6
all
- ubuntu•python3.7
all
- ubuntu•python3.8
all | < 3.8.10-0ubuntu1~20.04.12
- ubuntu•python3.9
all
- python software foundation•cpython
< 3.8.20 | ≥ 3.9.0, < 3.9.20 | ≥ 3.10.0, < 3.10.15 | ≥ 3.11.0, < 3.11.10 | ≥ 3.12.0, < 3.12.5 | ≥ 3.13.0a1, < 3.13.0rc2
- redhat•mod_wsgi
< 0:4.7.1-4.module+el8.4.0+9822+20bf1249 | < 0:4.7.1-5.module+el8.7.0+16654+645aad7f
- redhat•numpy
< 0:1.19.4-2.module+el8.4.0+15042+dc5a279b.1 | < 0:1.19.4-3.module+el8.5.0+12204+54860423
- redhat•numpy-debugsource
< 0:1.19.4-2.module+el8.4.0+15042+dc5a279b.1 | < 0:1.19.4-3.module+el8.5.0+12204+54860423
- redhat•python-cffi
< 0:1.14.3-2.module+el8.4.0+9822+20bf1249
- redhat•python-cffi-debugsource
< 0:1.14.3-2.module+el8.4.0+9822+20bf1249
- redhat•python-chardet
< 0:3.0.4-19.module+el8.4.0+9822+20bf1249
- redhat•python-cryptography
< 0:3.3.1-2.module+el8.4.0+9822+20bf1249
- redhat•python-cryptography-debugsource
< 0:3.3.1-2.module+el8.4.0+9822+20bf1249
- redhat•python-idna
< 0:2.10-3.module+el8.4.0+9822+20bf1249
- redhat•python-lxml
< 0:4.6.2-2.module+el8.4.0+9822+20bf1249 | < 0:4.6.5-1.module+el8.6.0+13933+9cf0c87c
- redhat•python-lxml-debugsource
< 0:4.6.2-2.module+el8.4.0+9822+20bf1249 | < 0:4.6.5-1.module+el8.6.0+13933+9cf0c87c
- redhat•python-ply
< 0:3.11-10.module+el8.4.0+9822+20bf1249
- redhat•python-psutil
< 0:5.8.0-4.module+el8.4.0+9822+20bf1249
- redhat•python-psutil-debugsource
< 0:5.8.0-4.module+el8.4.0+9822+20bf1249
- redhat•python-psycopg2
< 0:2.8.6-2.module+el8.4.0+9822+20bf1249
- redhat•python-psycopg2-debugsource
< 0:2.8.6-2.module+el8.4.0+9822+20bf1249
- redhat•python-pycparser
< 0:2.20-3.module+el8.4.0+9822+20bf1249
- redhat•python-PyMySQL
< 0:0.10.1-2.module+el8.4.0+9822+20bf1249
- redhat•python-pysocks
< 0:1.7.1-4.module+el8.4.0+9822+20bf1249
- redhat•python-requests
< 0:2.25.0-2.module+el8.4.0+9822+20bf1249
Showing first 50 affected entries in server-rendered view.
References (34)
- https://github.com/python/cpython/pull/122233
- https://github.com/python/cpython/issues/121650
- https://mail.python.org/archives/list/security-announce@python.org/thread/QH3BUOE2DYQBWP7NAQ7UNHPPOELKISRW/
- https://github.com/python/cpython/commit/4766d1200fdf8b6728137aa2927a297e224d5fa7
- https://github.com/python/cpython/commit/4aaa4259b5a6e664b7316a4d60bdec7ee0f124d0
- https://github.com/python/cpython/commit/06f28dc236708f72871c64d4bc4b4ea144c50147
- https://github.com/python/cpython/commit/b158a76ce094897c870fb6b3de62887b7ccc33f1
- https://github.com/python/cpython/commit/f7be505d137a22528cb0fc004422c0081d5d90e6
- https://github.com/python/cpython/commit/f7c0f09e69e950cf3c5ada9dbde93898eb975533
- https://github.com/python/cpython/commit/097633981879b3c9de9a1dd120d3aa585ecc2384
- http://www.openwall.com/lists/oss-security/2024/08/01/3
- http://www.openwall.com/lists/oss-security/2024/08/02/2
- https://security.netapp.com/advisory/ntap-20240926-0003/
- https://lists.debian.org/debian-lts-announce/2025/01/msg00005.html
- https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html
- https://ubuntu.com/security/CVE-2024-6923
- https://www.cve.org/CVERecord?id=CVE-2024-6923
- https://ubuntu.com/security/notices/USN-7015-1
- https://ubuntu.com/security/notices/USN-7015-5
- https://security-tracker.debian.org/tracker/CVE-2024-6923
- https://access.redhat.com/errata/RHSA-2024:6146
- https://access.redhat.com/security/updates/classification/#moderate
- https://bugzilla.redhat.com/show_bug.cgi?id=2302255
- https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_6146.json
- https://access.redhat.com/security/cve/CVE-2024-6923
- https://nvd.nist.gov/vuln/detail/CVE-2024-6923
- https://access.redhat.com/errata/RHSA-2024:6179
- https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_6179.json
- https://access.redhat.com/errata/RHSA-2024:7137
- https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_7137.json
- https://access.redhat.com/errata/RHSA-2024:8103
- https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_8103.json
- https://security.alpinelinux.org/vuln/CVE-2024-6923
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6923.json