CVE-2024-6923: Email header injection due to unquoted newlines

Published Aug 1, 2024
·
Updated

Email header injection due to unquoted newlines

Other sources

Python CPython is vulnerable to email header injection, caused by the failure to properly quote newlines for email headers when serializing an email message. By persuading a victim to open a specially crafted email, a remote authenticated attacker could exploit this vulnerability to spoof sender identity, gain unauthorized email sending or loss of control over email communication.

IBM

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.

Red Hat

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

Launchpad

Affected Software

11 affected componentsFixes available
debian/python2.7<=2.7.18-8+deb11u1
debian/python3.11<=3.11.2-6+deb12u3
3.11.2-6+deb12u5
debian/python3.12
3.12.10-1
debian/python3.13
3.13.3-2
debian/python3.9<=3.9.2-1
3.9.2-1+deb11u3
IBM Concert Software<=1.0.0, 1.0.1, 1.0.2, 1.0.2.1
Microsoft azl3 python3 3.12.3-3
Microsoft cbl2 python3 3.9.19-13
Microsoft cbl2 python3 3.9.19-8
Microsoft azl3 python3 3.12.3-5
Microsoft azl3 tensorflow 2.16.1-9

Event History

Aug 1, 2024
CVE Published
via MITRE·01:40 PM
Data Sourced
via MITRE·01:40 PM
Description
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·02:30 PM
DescriptionSeverityAffected Software
Oct 15, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Nov 19, 2024
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Nov 23, 2024
Data Sourced
via Ubuntu·03:08 PM
RemedyDescriptionSeverityAffected Software
Dec 17, 2024
Data Sourced
via Launchpad·03:13 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-6923?

CVE-2024-6923 is considered a medium severity vulnerability due to the potential for email header injection.

2

How do I fix CVE-2024-6923?

To fix CVE-2024-6923, update affected versions of Python packages to the latest version that addresses this vulnerability.

3

Which versions of Python are affected by CVE-2024-6923?

CVE-2024-6923 affects Python 2.7 up to 2.7.18-8+deb11u1 and various versions of Python 3 including 3.11.2-6+deb12u3.

4

Can CVE-2024-6923 be exploited remotely?

Yes, CVE-2024-6923 can be exploited remotely by an authenticated attacker through specially crafted email messages.

5

What is the impact of CVE-2024-6923 on software security?

The impact of CVE-2024-6923 can lead to unauthorized actions or access due to improper handling of email headers.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203