CVE-2023-27043: Input Validation

Published Apr 18, 2023
·
Updated

Accessibility. A logging issue was addressed with improved data redaction.

Other sources

AccountPolicy. This issue was addressed by removing the vulnerable code.

— Apple

AirDrop. A permissions issue was addressed with additional restrictions.

— Apple

AirPlay. A null pointer dereference was addressed with improved input validation.

— Apple

AirPlay. A type confusion issue was addressed with improved checks.

— Apple

AirPlay. A use-after-free issue was addressed with improved memory management.

— Apple

Credit

Uri Katz (Oligo Security), Ron Masas(BREAKPOINT), Zhongcheng Li(IES Red Team of ByteDance), an anonymous researcher, Bohdan Stasiuk@@bohdan_stasiuk, Jeffrey Hofmann, Claudio Bozzato(Cisco Talos), Francesco Benvenuto(Cisco Talos), Wojciech Regula(SecuRing), Hossein Lotfi@@hosselot(Trend Micro Zero Day Initiative), Mickey Jin@@patch1t, Martin Kreichgauer(Google Chrome), Dominik Rath, Yutong Xiu@@Sou1gh0st, Denis Tokarev@@illusionofcha0s, Ian Mckay@@iann0036, Google Threat Analysis Group, wac(Trend Micro Zero Day Initiative), Kirin@@Pwnrin, YingQi Shi@@Mas0nShi(DBAppSecurity's WeBin lab), Minghao Lin@@Y1nKoc, Stephan Casas, pattern-f@@pattern_F_, Csaba Fitzl@@theevilbit(Kandji), Gergely Kalman@@gergely_kalman, Jonathan Bar Or@@yo_yo_yo_jbo(Microsoft), CVE-2024-9681, Nolan Astrein(Kandji), Pietro Francesco Tirenna(Shielder), Davide Silvetti(Shielder), Abdel Adim Oisfi(Shielder), luckyu@@uuulucky, Andr.Ess, Rodolphe BRUNETTI@@eisw0lf, Rodolphe BRUNETTI@@eisw0lf(Lupus Nova), LFY@@secsys(Fudan University), ABC Research s.r.o., Wang Yu(Cyberserval), Anonymous(Trend Micro Zero Day Initiative), Murray Mike, Manuel Fernandez (Stackhopper Security), Dayton Pidhirney(Atredis Partners), Lyutoon, YenKoc, mzzzz__, Ye Zhang@@VAR10CK(Baidu Security), Dave G.(Supernetworks), Koh M. Nakagawa@@tsunek0h(FFRI Security Inc), Ian Beer(Google Project Zero), Joseph Ravichandran@@0xjprx(MIT CSAIL), Kenneth Chew, CVE-2024-48958, CVE-2025-27113, CVE-2024-56171, Paweł Płatek (Trail(Bits), Alexia Wilson(Microsoft), Christine Fossaceca(Microsoft), Alex Radocea(Supernetworks), 风沐云烟@@binary_fmyy, Diamant Osmani & Valdrin Haliti [Kosovë], dbpeppe, Solitechworld, Mickey Jin@@patch1t(Kandji), (Kandji), Jimmy, Pwn2car, Alhour@@NSAntoine, Noah Gregory (wts.dev), Pedro Tôrres@@t0rr3sp3dr0, CVE-2023-27043

Affected Software

25 affected componentsFixes available
Python Python<=2.7.18
Python Python>=3.0<=3.11
IBM Security QRadar EDR<=3.12
debian/pypy3<=7.3.5+dfsg-2+deb11u2
7.3.5+dfsg-2+deb11u47.3.11+dfsg-2+deb12u37.3.19+dfsg-2
debian/python2.7<=2.7.18-8+deb11u1
debian/python3.11<=3.11.2-6+deb12u3
3.11.2-6+deb12u5
debian/python3.12
3.12.10-1
debian/python3.9<=3.9.2-1
3.9.2-1+deb11u3
Fedoraproject Fedora=38
Fedoraproject Fedora=39
NetApp Active Iq Unified Manager Vmware Vsphere
NetApp Active Iq Unified Manager Windows
NetApp ONTAP Select Deploy administration utility
Python Python>=3.0<3.8.20
Python Python>=3.9.0<3.9.20
Python Python>=3.10.0<3.10.15
Python Python>=3.11.0<3.11.10
Python Python>=3.12.0<3.12.6
Apple macOS Sequoia<15.4
15.4
All of the following
azurelinux/python3<3.12.0-1
3.12.0-1
Microsoft Azure Linux=3.0
All of the following
azurelinux/python3<3.9.19-9
3.9.19-9
Microsoft CBL-Mariner=2.0
All of the following
azurelinux/python3<3.12.3-6
3.12.3-6
Microsoft Azure Linux=3.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/pypy3 to a version that resolves this vulnerability.

    Fixed in 7.3.5+dfsg-2+deb11u4Fixed in 7.3.11+dfsg-2+deb12u3Fixed in 7.3.19+dfsg-2
  2. Upgrade

    Upgrade debian/python3.11 to a version that resolves this vulnerability.

    Fixed in 3.11.2-6+deb12u5
  3. Upgrade

    Upgrade debian/python3.12 to a version that resolves this vulnerability.

    Fixed in 3.12.10-1
  4. Upgrade

    Upgrade debian/python3.9 to a version that resolves this vulnerability.

    Fixed in 3.9.2-1+deb11u3
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 15.4
  6. Upgrade

    Upgrade azurelinux/python3 to a version that resolves this vulnerability.

    Fixed in 3.12.0-1
  7. Upgrade

    Upgrade azurelinux/python3 to a version that resolves this vulnerability.

    Fixed in 3.9.19-9
  8. Upgrade

    Upgrade azurelinux/python3 to a version that resolves this vulnerability.

    Fixed in 3.12.3-6

Event History

Apr 18, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
12:00 AM
Description
Data Sourced
via OSV·12:00 AM
DescriptionSeverity
May 8, 2023
Data Sourced
via Red Hat·09:20 AM
DescriptionSeverityAffected Software
Jun 1, 2023
Data Sourced
02:15 PM
SeverityWeaknessAffected Software
Oct 20, 2023
Updated
via IBM·12:00 AM
Affected Software
Dec 27, 2023
Updated
02:15 AM
Affected Software
Dec 28, 2023
Updated
02:15 AM
Affected Software
Jan 4, 2024
Updated
03:15 AM
Affected Software
Jan 11, 2024
Data Sourced
via NVD·03:15 AM
DescriptionSeverityWeaknessAffected Software
Updated
via NVD·03:15 AM
Affected Software
Feb 5, 2024
Data Sourced
via MITRE·07:06 AM
Description
Updated
via NVD·07:15 AM
Affected Software
Feb 26, 2024
Updated
via NVD·04:27 PM
Affected Software
May 9, 2024
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Updated
via IBM·12:00 AM
Affected Software
Nov 21, 2024
Updated
via NVD·07:52 AM
Affected Software
Feb 1, 2025
Data Sourced
via Microsoft·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·12:00 AM
Affected Software
Updated
via Microsoft·08:00 AM
WeaknessAffected Software
Updated
via Microsoft·08:00 AM
Affected Software
Feb 14, 2025
Updated
via Microsoft·12:00 AM
Description
Mar 14, 2025
Updated
via IBM·12:00 AM
Affected Software
Mar 31, 2025
Data Sourced
via Apple·12:00 AM
DescriptionWeaknessAffected Software
May 7, 2025
Updated
via Apple·12:00 AM
Affected Software
May 12, 2025
Updated
via Apple·12:00 AM
Affected Software
May 19, 2025
Updated
via NVD·12:38 PM
Affected Software
May 28, 2025
Updated
via Apple·12:00 AM
Affected Software
Jul 29, 2025
Updated
via Apple·12:00 AM
Affected Software
Nov 3, 2025
Updated
via NVD·09:15 PM
Affected Software
Dec 17, 2025
Updated
via NVD·10:15 PM
SeverityWeakness
Jan 8, 2026
Updated
via Microsoft·02:35 PM
Description
Jun 17, 2026
Updated
via NVD·05:44 AM
SeverityWeaknessAffected Software
Jun 23, 2026
Updated
via Microsoft·09:40 PM
Weakness

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2023-27043?

CVE-2023-27043 is a vulnerability in the Python email module that allows a remote attacker to bypass security restrictions due to a parsing flaw in email addresses.

2

What is the severity of CVE-2023-27043?

The severity of CVE-2023-27043 is medium, with a CVSS severity score of 5.3.

3

Which software versions are affected by CVE-2023-27043?

Python versions up to and including 2.7.18 and Python versions between 3.0 and 3.11.3 are affected by CVE-2023-27043.

4

How can an attacker exploit CVE-2023-27043?

An attacker can exploit CVE-2023-27043 by manipulating email addresses containing special characters to bypass security mechanisms and gain unauthorized access.

5

Is there a fix available for CVE-2023-27043?

Yes, upgrading to a fixed version of Python (2.7.19 or 3.11.4) or applying the necessary patches provided by the vendor can resolve the CVE-2023-27043 vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203