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.

Vendor Advisory NVD

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.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
LOW
User Interaction:
REQUIRED
Scope:
UNCHANGED
Confidentiality Impact:
LOW
Integrity Impact:
LOW
Availability Impact:
LOW

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: cpython:

Exploit Probability

EPSS
0.25%
Percentile
47.56%

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.