CVE-2024-6923

NameCVE-2024-6923
DescriptionThere 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3980-1, DLA-4354-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pypy3 (PTS)bookworm7.3.11+dfsg-2+deb12u3vulnerable
trixie7.3.19+dfsg-2fixed
forky, sid7.3.23+dfsg-2fixed
python3.11 (PTS)bookworm3.11.2-6+deb12u8fixed
bookworm (security)3.11.2-6+deb12u3vulnerable
python3.13 (PTS)trixie3.13.5-2+deb13u5fixed
forky, sid3.13.15-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pypy3sourcebullseye7.3.5+dfsg-2+deb11u5DLA-4354-1
pypy3source(unstable)7.3.18+dfsg-1
python2.7source(unstable)(unfixed)
python3.11sourcebookworm3.11.2-6+deb12u5
python3.11source(unstable)(unfixed)
python3.12source(unstable)3.12.5-1
python3.13source(unstable)3.13.0~rc2-1
python3.9sourcebullseye3.9.2-1+deb11u2DLA-3980-1
python3.9source(unstable)(unfixed)

Notes

[bullseye] - python2.7 <ignored> (Unsupported in Bullseye, only included to build a few applications)
[bookworm] - pypy3 <no-dsa> (Minor issue)
https://github.com/python/cpython/issues/121650
https://github.com/python/cpython/pull/122233
https://github.com/python/cpython/commit/4aaa4259b5a6e664b7316a4d60bdec7ee0f124d0 (v3.13.0rc2)
https://github.com/python/cpython/commit/4766d1200fdf8b6728137aa2927a297e224d5fa7 (v3.12.5)
https://github.com/python/cpython/commit/f7c0f09e69e950cf3c5ada9dbde93898eb975533 (v3.11.10)
https://github.com/python/cpython/commit/06f28dc236708f72871c64d4bc4b4ea144c50147 (v3.10.15)
https://github.com/python/cpython/commit/f7be505d137a22528cb0fc004422c0081d5d90e6 (v3.9.20)

Search for package or bug name: Reporting problems