CPython Email Module Header Injection via Improper Newline Quoting
CVE-2024-6923 Published on August 1, 2024
Email header injection due to unquoted newlines
There is a MEDIUM severity vulnerability affecting CPython.
The
email module didnt properly quote newlines for email headers when
serializing an email message allowing for header injection when an email
is serialized.
Vulnerability Analysis
CVE-2024-6923 can be exploited with network access, requires user interaction and a small amount of user privileges. This vulnerability is considered to have a low attack complexity. Public availability of a proof of concept (POC) exploit exists for CVE-2024-6923. The potential impact of an exploit of this vulnerability is considered to be low. considered to have a small impact on confidentiality and integrity and availability.
Weakness Type
What is a Code Injection Vulnerability?
The software 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.
CVE-2024-6923 has been classified to as a Code Injection vulnerability or weakness.
Products Associated with CVE-2024-6923
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2024-6923 are published in these products:
Affected Versions
Python Software Foundation CPython:- Before 3.8.20 is affected.
- Version 3.9.0 and below 3.9.20 is affected.
- Version 3.10.0 and below 3.10.15 is affected.
- Version 3.11.0 and below 3.11.10 is affected.
- Version 3.12.0 and below 3.12.5 is affected.
- Version 3.13.0a1 and below 3.13.0rc2 is affected.
- Before and including 3.13.0rc2 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.