Skip to content
Fencer Vulns
medium 5.3

CVE-2023-27043 json

The email module of Python through 3.11.3 incorrectly parses e-mail addresses that contain a special character.

published 2023-04-18 3 y ago modified 2026-10-16 24 d ago also BIT-libpython-2023-27043 , BIT-python-2023-27043 , BIT-python-min-2023-27043 , EUVD-2023-30832

cvss
5.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
2.5%
EPSS 2.5% chance of exploitation in 30 days, percentile 85%
public exploits
0
none known

Summary

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.

Patch / fix

  • bitnami libpython 3.8.20, 3.9.20, 3.10.15, 3.11.10, 3.12.6
  • bitnami python 3.8.20, 3.9.20, 3.10.15, 3.11.10, 3.12.6
  • bitnami python-min 3.8.20, 3.9.20, 3.10.15, 3.11.10, 3.12.6
  • Siemens RUGGEDCOM ROX MX5000 V2.17.0, V2.17.1
  • Siemens RUGGEDCOM ROX MX5000RE V2.17.0, V2.17.1
  • Siemens RUGGEDCOM ROX RX1400 V2.17.0, V2.17.1
  • Siemens RUGGEDCOM ROX RX1500 V2.17.0, V2.17.1
  • Siemens RUGGEDCOM ROX RX1501 V2.17.0, V2.17.1
  • Siemens RUGGEDCOM ROX RX1510 V2.17.0, V2.17.1
  • Siemens RUGGEDCOM ROX RX1511 V2.17.0, V2.17.1
  • Siemens RUGGEDCOM ROX RX1512 V2.17.0, V2.17.1
  • Siemens RUGGEDCOM ROX RX1524 V2.17.0, V2.17.1
  • Siemens RUGGEDCOM ROX RX1536 V2.17.0, V2.17.1
  • Siemens RUGGEDCOM ROX RX5000 V2.17.0, V2.17.1
  • pypy3 Debian 12 7.3.11+dfsg-2+deb12u3
  • pypy3 Debian 14, Debian 13 7.3.17+dfsg-3
  • python3.11 Debian 12 3.11.2-6+deb12u5

debian advisories DEBIAN-CVE-2023-27043

  • python3.8 Ubuntu 20.04 LTS 3.8.10-0ubuntu1~20.04.12
  • python3.10 Ubuntu 22.04 LTS 3.10.12-1~22.04.6
  • python3.12 Ubuntu 24.04 LTS 3.12.3-1ubuntu0.2
  • python2.7 Ubuntu Pro 14.04 LTS 2.7.6-8ubuntu0.6+esm20
  • python2.7 Ubuntu Pro 16.04 LTS 2.7.12-1ubuntu0~16.04.18+esm18
  • python2.7 Ubuntu Pro 18.04 LTS 2.7.17-1~18.04ubuntu1.13+esm13
  • python2.7 Ubuntu Pro 20.04 LTS 2.7.18-1~20.04.4+esm3
  • python2.7 Ubuntu Pro 22.04 LTS 2.7.18-13ubuntu1.2+esm3

ubuntu advisories UBUNTU-CVE-2023-27043

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • numpy RHEL 8 1.19.4-3.module+el8.9.0+19644+d68f775d
  • scipy RHEL 8 1.5.4-5.module+el8.9.0+19644+d68f775d
  • Cython RHEL 8 0.29.21-5.module+el8.9.0+19644+d68f775d
  • pytest RHEL 8 6.0.2-2.module+el8.9.0+19644+d68f775d
  • PyYAML RHEL 8 5.4.1-1.module+el8.9.0+19644+d68f775d
  • mod_wsgi RHEL 8 4.7.1-7.module+el8.9.0+19644+d68f775d
  • pybind11 RHEL 8 2.7.1-1.module+el8.9.0+19644+d68f775d
  • python39 RHEL 8 3.9.18-3.module+el8.10.0+21142+453d2b75

red hat advisories RHSA-2024:2985RHSA-2024:0586RHSA-2024:0430RHSA-2024:0454RHSA-2024:3062RHSA-2024:0256

  • python311 Linux Micro 6.1 3.11.12-slfo.1.1_1.1
  • python311-core Linux Micro 6.1 3.11.12-slfo.1.1_1.1
  • python311 Linux Micro 6.0 3.11.11-1.1
  • python311-core Linux Micro 6.0 3.11.11-1.1
  • python SLE Module for Package Hub 15 SP6, SLE Module for Package Hub 15 SP5, openSUSE Leap 15.6 +1 more 2.7.18-150000.65.1
  • python-base SLE Module for Package Hub 15 SP6, SLE Module for Package Hub 15 SP5, openSUSE Leap 15.6 +1 more 2.7.18-150000.65.1
  • python SLES for SAP 12 SP5, SLES 12 SP5 2.7.18-33.32.1
  • python-base SLES for SAP 12 SP5, SLES 12 SP5, SLE Workstation Extension 12 SP5 2.7.18-33.32.1

suse advisories SUSE-SU-2025:20374-1SUSE-SU-2025:20154-1SUSE-SU-2024:1862-1SUSE-SU-2024:1667-1SUSE-SU-2024:0782-2SUSE-SU-2024:0784-1

  • python315 openSUSE Tumbleweed 3.15.0~a1-1.1
  • python314 openSUSE Tumbleweed 3.14.0~a1-1.1
  • python313 openSUSE Tumbleweed 3.13.0~b3-1.1
  • python312 openSUSE Tumbleweed 3.12.0b4-1.1
  • python310 openSUSE Tumbleweed 3.10.12-2.1
  • python39 openSUSE Tumbleweed 3.9.17-3.1
  • python38 openSUSE Tumbleweed 3.8.17-2.1
  • python311 openSUSE Tumbleweed 3.11.4-2.1

opensuse advisories openSUSE-SU-2025:15713-1openSUSE-SU-2024:14434-1openSUSE-SU-2024:14109-1openSUSE-SU-2024:13049-1openSUSE-SU-2024:13066-1openSUSE-SU-2024:13085-1

  • python39 AlmaLinux 8 3.9.18-3.module_el8.10.0+3765+2f9a457d
  • python39-py AlmaLinux 8 1.10.0-1.module_el8.6.0+2780+a40f65e1
  • python39-pip AlmaLinux 8 20.2.4-9.module_el8.10.0+3765+2f9a457d
  • python39-ply AlmaLinux 8 3.11-10.module_el8.6.0+2780+a40f65e1
  • python39-six AlmaLinux 8 1.15.0-3.module_el8.6.0+2780+a40f65e1
  • python39-cffi AlmaLinux 8 1.14.3-2.module_el8.6.0+2780+a40f65e1
  • python39-cffi AlmaLinux 8 1.14.3-2.module_el8.6.0+3248+c431e88c
  • python39-idle AlmaLinux 8 3.9.18-3.module_el8.10.0+3765+2f9a457d

almalinux advisories ALSA-2024:2985ALSA-2024:3062ALSA-2024:2292ALSA-2024:0466ALSA-2024:0256

  • python3.11 Rocky Linux 8 3.11.7-1.el8
  • numpy Rocky Linux 8 1.19.4-3.module+el8.10.0+1582+bc278001
  • scipy Rocky Linux 8 1.5.4-5.module+el8.10.0+1582+bc278001
  • Cython Rocky Linux 8 0.29.21-5.module+el8.10.0+1582+bc278001
  • pytest Rocky Linux 8 6.0.2-2.module+el8.10.0+1582+bc278001
  • PyYAML Rocky Linux 8 5.4.1-1.module+el8.10.0+1582+bc278001
  • mod_wsgi Rocky Linux 8 4.7.1-7.module+el8.10.0+1582+bc278001
  • pybind11 Rocky Linux 8 2.7.1-1.module+el8.9.0+1357+a3b80af7

rocky linux advisories RLSA-2024:3062RLSA-2024:2985RLSA-2024:0256

  • python3 Alpine 3.17 3.10.15-r0
  • python3 Alpine 3.19, Alpine 3.18 3.11.10-r0
  • python3 Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 3.12.6-r0

alpine advisories ALPINE-CVE-2023-27043

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • python3 CBL-Mariner 2.0 3.9.19-9
  • python3 Azure Linux 3.0 3.12.3-6

azure linux advisories AZL-31167AZL-35144

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-27043 updated cvss 5.3

python: Parsing errors in email/_parseaddr.py lead to incorrect value in email address part of tuple

  • Red Hat Enterprise Linux 6 python, tkinter, python-libs, python-test, python-tools Red Hat Enterprise Linux 7 python, python3, tkinter, python-libs, python-test, python-tools, +4 more
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 python2, python2-libs, python2-test, python2-tools, python2-tkinter Red Hat Software Collections rh-python38-python, rh-python38-python-idle, rh-python38-python-libs, rh-python38-python-test, rh-python38-python-tkinter, rh-python38-python-rpm-macros, +1 more
    affected: no fix planned “Will not fix”
  • Red Hat CodeReady Linux Builder (v. 9) python3 3.9.18-1.el9_3.1, python3-idle 3.9.18-1.el9_3.1, python3-test 3.9.18-1.el9_3.1, python3-tkinter 3.9.18-1.el9_3.1
    fixed: vendor fix RHSA-2024:0466
  • Red Hat CodeReady Linux Builder EUS (v.9.2) python3 3.9.16-1.el9_2.3, python3-idle 3.9.16-1.el9_2.3, python3-test 3.9.16-1.el9_2.3, python3-tkinter 3.9.16-1.el9_2.3
    fixed: vendor fix RHSA-2024:0454
  • Red Hat Enterprise Linux AppStream (v. 8) python3.11 3.11.7-1.el8, python3.11-libs 3.11.7-1.el8, python3-idle 3.6.8-56.el8_9.3, python3-test 3.6.8-56.el8_9.3, python3.11-tkinter 3.11.7-1.el8, platform-python 3.6.8-56.el8_9.3, +57 more
    fixed: vendor fix RHSA-2024:2985
  • Red Hat Enterprise Linux AppStream (v. 9) python3.11 3.11.7-1.el9, python3.11-libs 3.11.7-1.el9, python3.11-tkinter 3.11.7-1.el9, python3-tkinter 3.9.18-1.el9_3.1, python-unversioned-command 3.9.18-1.el9_3.1
    fixed: vendor fix RHSA-2024:0466
  • Red Hat Enterprise Linux AppStream EUS (v.8.6) python3-idle 3.6.8-47.el8_6.4, python3-test 3.6.8-47.el8_6.4, platform-python 3.6.8-47.el8_6.4, python3-tkinter 3.6.8-47.el8_6.4
    fixed: vendor fix RHSA-2024:0430
  • Red Hat Enterprise Linux AppStream EUS (v.8.8) python3-idle 3.6.8-51.el8_8.4, python3-test 3.6.8-51.el8_8.4, platform-python 3.6.8-51.el8_8.4, python3-tkinter 3.6.8-51.el8_8.4
    fixed: vendor fix RHSA-2024:0586
show 10 more
  • Red Hat Enterprise Linux AppStream EUS (v.9.2) python3-tkinter 3.9.16-1.el9_2.3, python-unversioned-command 3.9.16-1.el9_2.3
    fixed: vendor fix RHSA-2024:0454
  • Red Hat Enterprise Linux BaseOS (v. 8) python3 3.6.8-56.el8_9.3, python3-libs 3.6.8-56.el8_9.3, python3-test 3.6.8-56.el8_9.3, platform-python 3.6.8-56.el8_9.3
    fixed: vendor fix RHSA-2024:0256
  • Red Hat Enterprise Linux BaseOS (v. 9) python3 3.9.18-1.el9_3.1, python3.9 3.9.18-1.el9_3.1, python3-libs 3.9.18-1.el9_3.1
    fixed: vendor fix RHSA-2024:0466
  • Red Hat Enterprise Linux BaseOS EUS (v.8.6) python3 3.6.8-47.el8_6.4, python3-libs 3.6.8-47.el8_6.4, python3-test 3.6.8-47.el8_6.4, platform-python 3.6.8-47.el8_6.4
    fixed: vendor fix RHSA-2024:0430
  • Red Hat Enterprise Linux BaseOS EUS (v.8.8) python3 3.6.8-51.el8_8.4, python3-libs 3.6.8-51.el8_8.4, python3-test 3.6.8-51.el8_8.4, platform-python 3.6.8-51.el8_8.4
    fixed: vendor fix RHSA-2024:0586
  • Red Hat Enterprise Linux BaseOS EUS (v.9.2) python3 3.9.16-1.el9_2.3, python3.9 3.9.16-1.el9_2.3, python3-libs 3.9.16-1.el9_2.3
    fixed: vendor fix RHSA-2024:0454
  • Red Hat Enterprise Linux CRB (v. 8) python3.11 3.11.7-1.el8, python3.11-idle 3.11.7-1.el8, python3.11-test 3.11.7-1.el8, python3.11-tkinter 3.11.7-1.el8, pytest 6.0.2-2.module+el8.9.0+19644+d68f775d, Cython 0.29.21-5.module+el8.9.0+19644+d68f775d, +20 more
    fixed: vendor fix RHSA-2024:2985
  • Red Hat Enterprise Linux CRB (v. 9) python3.11 3.11.7-1.el9, python3.11-idle 3.11.7-1.el9, python3.11-test 3.11.7-1.el9, python3.11-tkinter 3.11.7-1.el9
    fixed: vendor fix RHSA-2024:2292
  • Red Hat RHODF 4.15 for RHEL 9 odf4/cephcsi-rhel9 v4.15.0-37, odf4/odf-cli-rhel9 v4.15.0-22, odf4/mcg-core-rhel9 v4.15.0-68, odf4/odf-console-rhel9 v4.15.0-57, odf4/mcg-rhel9-operator v4.15.0-39, odf4/ocs-rhel9-operator v4.15.0-79, +20 more
    fixed: vendor fix RHSA-2024:1383
  • Red Hat Enterprise Linux 8 pytz, babel, numpy, scipy, Cython, PyYAML, +82 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-26-134-16 updated cvss 5.3

Siemens Ruggedcom Rox

  • Siemens RUGGEDCOM ROX MX5000 < 2.17.1 Siemens RUGGEDCOM ROX MX5000RE < 2.17.1 Siemens RUGGEDCOM ROX RX1400 < 2.17.1 Siemens RUGGEDCOM ROX RX1500 < 2.17.1 Siemens RUGGEDCOM ROX RX1501 < 2.17.1 Siemens RUGGEDCOM ROX RX1510 < 2.17.1
    +5 more products
    Siemens RUGGEDCOM ROX RX1511 < 2.17.1 Siemens RUGGEDCOM ROX RX1512 < 2.17.1 Siemens RUGGEDCOM ROX RX1524 < 2.17.1 Siemens RUGGEDCOM ROX RX1536 < 2.17.1 Siemens RUGGEDCOM ROX RX5000 < 2.17.1
    affected: fixed in V2.17.1 support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
partial
Assessed
10 mo ago

Exploit prediction

2.53% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/python/cpython/issues/102988 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CISA ADP 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CNA 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
OSV 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected packages

ecosystem package affected fixed in
bitnami libpython
<3.8.20
>=3.10.0, <3.10.15
>=3.11.0, <3.11.10
>=3.12.0, <3.12.6
>=3.9.0, <3.9.20
3.8.20
3.10.15
3.11.10
3.12.6
3.9.20
bitnami python
<3.8.20
>=3.10.0, <3.10.15
>=3.11.0, <3.11.10
>=3.12.0, <3.12.6
>=3.9.0, <3.9.20
3.8.20
3.10.15
3.11.10
3.12.6
3.9.20
bitnami python-min
<3.8.20
>=3.10.0, <3.10.15
>=3.11.0, <3.11.10
>=3.12.0, <3.12.6
>=3.9.0, <3.9.20
3.8.20
3.10.15
3.11.10
3.12.6
3.9.20

Affected products

  • Siemens RUGGEDCOM ROX MX5000
  • Siemens RUGGEDCOM ROX MX5000RE
  • Siemens RUGGEDCOM ROX RX1400
  • Siemens RUGGEDCOM ROX RX1500
  • Siemens RUGGEDCOM ROX RX1501
  • Siemens RUGGEDCOM ROX RX1510
  • Siemens RUGGEDCOM ROX RX1511
  • Siemens RUGGEDCOM ROX RX1512
  • Siemens RUGGEDCOM ROX RX1524
  • Siemens RUGGEDCOM ROX RX1536
  • Siemens RUGGEDCOM ROX RX5000

Classification

Weakness
  • CWE-20 Improper Input Validation
  • CWE-1286 Improper Validation of Syntactic Correctness of Input

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Adjust affected version ranges to account for backports.