We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-6923

Email header injection due to unquoted newlines



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.

Reserved 2024-07-19 | Published 2024-08-01 | Updated 2025-01-11 | Assigner PSF

Product status

Default status
unaffected

Any version before 3.8.20
affected

3.9.0 before 3.9.20
affected

3.10.0 before 3.10.15
affected

3.11.0 before 3.11.10
affected

3.12.0 before 3.12.5
affected

3.13.0a1 before 3.13.0rc2
affected

Credits

Petr Viktorin remediation developer

Seth Larson coordinator

John Whitlock reporter

Bas Bloemsaat remediation developer

References

github.com/python/cpython/pull/122233 patch

github.com/python/cpython/issues/121650 issue-tracking

mail.python.org/.../thread/QH3BUOE2DYQBWP7NAQ7UNHPPOELKISRW/ vendor-advisory

github.com/...ommit/4766d1200fdf8b6728137aa2927a297e224d5fa7 patch

github.com/...ommit/4aaa4259b5a6e664b7316a4d60bdec7ee0f124d0 patch

github.com/...ommit/06f28dc236708f72871c64d4bc4b4ea144c50147 patch

github.com/...ommit/b158a76ce094897c870fb6b3de62887b7ccc33f1 patch

github.com/...ommit/f7be505d137a22528cb0fc004422c0081d5d90e6 patch

github.com/...ommit/f7c0f09e69e950cf3c5ada9dbde93898eb975533 patch

cve.org (CVE-2024-6923)

nvd.nist.gov (CVE-2024-6923)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-6923

Support options

Helpdesk Chat, Email, Knowledgebase
Subscribe to our newsletter to learn more about our work.