CVE-2024-6923

Email header injection due to unquoted newlines

Published Aug 1, 2024 CVSS 3.1 · 5.5 Medium EPSS 1.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3980-1 python3.9 security update
Debian DLA Debian DLA DLA-4010-1 python-django security update
Debian DLA Debian DLA DLA-4354-1 pypy3 security update
Ubuntu USN Ubuntu USN USN-7015-1 Python vulnerabilities
Ubuntu USN Ubuntu USN USN-7015-5 Python vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00089}

epss

{'score': 0.00097}

Type Values Removed Values Added
CPEs cpe:/a:redhat:rhel_eus:8.8
Type Values Removed Values Added
CPEs cpe:/a:redhat:service_interconnect:1::el9
Type Values Removed Values Added
First Time appeared Redhat service Interconnect
CPEs cpe:/a:redhat:service_interconnect:1.4::el9
Vendors & Products Redhat service Interconnect
Type Values Removed Values Added
First Time appeared Python
Python cpython
CPEs cpe:2.3:a:python:cpython:*:*:*:*:*:*:*:*
Vendors & Products Python
Python cpython
References
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:/a:redhat:rhel_aus:8.4
cpe:/a:redhat:rhel_e4s:8.4
cpe:/a:redhat:rhel_tus:8.4
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:8
Type Values Removed Values Added
First Time appeared Redhat rhel Aus
Redhat rhel E4s
Redhat rhel Eus
Redhat rhel Tus
CPEs cpe:/a:redhat:rhel_aus:8.6
cpe:/a:redhat:rhel_e4s:8.6
cpe:/a:redhat:rhel_eus:9.2
cpe:/a:redhat:rhel_tus:8.6
Vendors & Products Redhat rhel Aus
Redhat rhel E4s
Redhat rhel Eus
Redhat rhel Tus
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:enterprise_linux:9
Type Values Removed Values Added
First Time appeared Redhat
Redhat enterprise Linux
CPEs cpe:/a:redhat:enterprise_linux:8
Vendors & Products Redhat
Redhat enterprise Linux
Weaknesses

Sources

Status
PUBLISHED
Assigner
PSF
Published
Updated
Nov 3, 2025, 10:32 PM
Reserved
Jul 19, 2024, 3:32 PM
Status
Deferred
Published
Aug 1, 2024, 2:15 PM
Modified
Jun 17, 2026, 8:18 AM
Severity
Moderate
Public date
Aug 1, 2024, 12:00 AM