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



AssignerPSF
Reserved2024-07-19
Published2024-08-01
Updated2024-09-04

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.

Product status

Default status
0x4006cc28e0

Any version before 3.12.5
affected

Credits

Petr Viktorin 0x4006cc2940

Seth Larson 0x4006cc2950

John Whitlock 0x4006cc2960

Bas Bloemsaat 0x4006cc2970

References

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

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

https://mail.python.org/archives/list/security-announce@python.org/thread/QH3BUOE2DYQBWP7NAQ7UNHPPOELKISRW/ vendor-advisory

https://github.com/python/cpython/commit/4766d1200fdf8b6728137aa2927a297e224d5fa7 patch

https://github.com/python/cpython/commit/4aaa4259b5a6e664b7316a4d60bdec7ee0f124d0 patch

https://github.com/python/cpython/commit/06f28dc236708f72871c64d4bc4b4ea144c50147 patch

https://github.com/python/cpython/commit/b158a76ce094897c870fb6b3de62887b7ccc33f1 patch

https://github.com/python/cpython/commit/f7be505d137a22528cb0fc004422c0081d5d90e6 patch

https://github.com/python/cpython/commit/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
Subscribe to our newsletter to learn more about our work.