MEDIUM 5.3 Microsoft

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.

Microsoft Security Update 2023-Apr: 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.

Affected Products

References

Published: 2023-04-11 · Source: Microsoft · Feed updated: 2026-09-17
This medium severity vulnerability with a CVSS score of 5.3 was published on 2023-04-11 via Microsoft. Affected: azl3 python3 3.12.9-11 on Azure Linux 3.0, cbl2 python3 3.9.19-9 on CBL Mariner 2.0, azl3 python3 3.12.0-1 on Azure Linux 3.0.
vulnfeed aggregates 8294 vulnerabilities from NVD, CISA KEV, Ubuntu, Debian, Red Hat, Kubernetes, Exploit-DB, OSS-Security, GitHub and OpenStack — updated every 4 hours.