CVE-2023-27043

MEDIUMCVSS 5.3/10EPSS 2.51%

Last modified

CVE-2023-27043 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. The email module of Python through 3.11.3 incorrectly parses e-mail addresses that contain a special character. The wrong portion of an RFC2822 header is identified as the value of the addr-spec. EPSS estimates a 2.51% chance of exploitation in the next 30 days.

Description

The email module of Python through 3.11.3 incorrectly parses e-mail addresses that contain a special character. The wrong portion of an RFC2822 header is identified as the value of the addr-spec. In some applications, an attacker can bypass a protection mechanism in which application access is granted only after verifying receipt of e-mail to a specific domain (e.g., only @company.example.com addresses may be used for signup). This occurs in email/_parseaddr.py in recent versions of Python.

Metrics

CVSS 3.1
5.3/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

EPSS Probability
2.51%

82.7th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
FedoraprojectFedora38
FedoraprojectFedora39
NetappActive Iq Unified ManagerAll versions
NetappOntap Select Deploy Administration UtilityAll versions
PythonPython<= 2.7.18
PythonPython>= 3.0, < 3.8.20
PythonPython>= 3.9.0, < 3.9.20
PythonPython>= 3.10.0, < 3.10.15
PythonPython>= 3.11.0, < 3.11.10
PythonPython>= 3.12.0, < 3.12.6

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2023-27043?
The email module of Python through 3.11.3 incorrectly parses e-mail addresses that contain a special character. The wrong portion of an RFC2822 header is identified as the value of the addr-spec. In some applications, an attacker can bypass a protection mechanism in which application access is granted only after verifying receipt of e-mail to a specific domain (e.g., only @company.example.com addresses may be used for signup). This occurs in email/_parseaddr.py in recent versions of Python.
How severe is CVE-2023-27043?
CVE-2023-27043 has a CVSS score of 5.3/10 (MEDIUM severity). The EPSS model estimates a 2.51% probability of exploitation in the next 30 days.
How do I fix CVE-2023-27043?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2023-27043?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST