CVE-2023-27043 Security feature bypass in n/a
Attackers can bypass email domain verification checks by exploiting incorrect address parsing in the Python email module.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-27043?
CVE-2023-27043 is a medium-severity vulnerability in Fedoraproject Fedora, published on 18 Apr 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2023-27043?
3 open source packages ship an affected version, including libpython, python and python-min. It affects 4 products.
| Package | Affected | Fixed in |
|---|---|---|
libpython Bitnami | All versions | 3.8.20, 3.10.15, 3.11.10, 3.12.6, 3.9.20 |
python Bitnami | All versions | 3.8.20, 3.10.15, 3.11.10, 3.12.6, 3.9.20 |
python-min Bitnami | All versions | 3.8.20, 3.10.15, 3.11.10, 3.12.6, 3.9.20 |
Linux distribution packages (37)
platform-python AlmaLinux:8 | All versions | 3.6.8-56.el8_9.3.alma.1 |
platform-python-debug AlmaLinux:8 | All versions | 3.6.8-56.el8_9.3.alma.1 |
platform-python-devel AlmaLinux:8 | All versions | 3.6.8-56.el8_9.3.alma.1 |
python3-idle AlmaLinux:8 | All versions | 3.6.8-56.el8_9.3.alma.1 |
python3-libs AlmaLinux:8 | All versions | 3.6.8-56.el8_9.3.alma.1 |
python3-test AlmaLinux:8 | All versions | 3.6.8-56.el8_9.3.alma.1 |
python3-tkinter AlmaLinux:8 | All versions | 3.6.8-56.el8_9.3.alma.1 |
python3.11 AlmaLinux:8 | All versions | 3.11.7-1.el8 |
python3.11-debug AlmaLinux:8 | All versions | 3.11.7-1.el8 |
python3.11-devel AlmaLinux:8 | All versions | 3.11.7-1.el8 |
python3.11-idle AlmaLinux:8 | All versions | 3.11.7-1.el8 |
python3.11-libs AlmaLinux:8 | All versions | 3.11.7-1.el8 |
python3.11-rpm-macros AlmaLinux:8 | All versions | 3.11.7-1.el8 |
python3.11-test AlmaLinux:8 | All versions | 3.11.7-1.el8 |
python3.11-tkinter AlmaLinux:8 | All versions | 3.11.7-1.el8 |
python-unversioned-command AlmaLinux:9 | All versions | 3.9.18-1.el9_3.1 |
python3 AlmaLinux:9 | All versions | 3.9.18-1.el9_3.1 |
python3-debug AlmaLinux:9 | All versions | 3.9.18-1.el9_3.1 |
python3-devel AlmaLinux:9 | All versions | 3.9.18-1.el9_3.1 |
python3-idle AlmaLinux:9 | All versions | 3.9.18-1.el9_3.1 |
python3-libs AlmaLinux:9 | All versions | 3.9.18-1.el9_3.1 |
python3-test AlmaLinux:9 | All versions | 3.9.18-1.el9_3.1 |
python3-tkinter AlmaLinux:9 | All versions | 3.9.18-1.el9_3.1 |
python3.11 AlmaLinux:9 | All versions | 3.11.7-1.el9 |
python3.11-debug AlmaLinux:9 | All versions | 3.11.7-1.el9 |
python3.11-devel AlmaLinux:9 | All versions | 3.11.7-1.el9 |
python3.11-idle AlmaLinux:9 | All versions | 3.11.7-1.el9 |
python3.11-libs AlmaLinux:9 | All versions | 3.11.7-1.el9 |
python3.11-test AlmaLinux:9 | All versions | 3.11.7-1.el9 |
python3.11-tkinter AlmaLinux:9 | All versions | 3.11.7-1.el9 |
platform-python Red Hat:enterprise_linux:8::appstream | All versions | 0:3.6.8-56.el8_9.3 |
platform-python-debug Red Hat:enterprise_linux:8::appstream | All versions | 0:3.6.8-56.el8_9.3 |
platform-python-devel Red Hat:enterprise_linux:8::appstream | All versions | 0:3.6.8-56.el8_9.3 |
python3-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:3.6.8-56.el8_9.3 |
python3-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 0:3.6.8-56.el8_9.3 |
python3-idle Red Hat:enterprise_linux:8::appstream | All versions | 0:3.6.8-56.el8_9.3 |
python3-test Red Hat:enterprise_linux:8::appstream | All versions | 0:3.6.8-56.el8_9.3 |
Products include Fedoraproject Fedora, Netapp Active Iq Unified Manager, Netapp Ontap Select Deploy Administration Utility, Python Python.
How do I fix CVE-2023-27043?
Upgrade libpython to a fixed version for your release line: 3.8.20, 3.10.15, 3.11.10 or 3.12.6.
Is CVE-2023-27043 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-27043 exists.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as ALPINE-CVE-2023-27043, ALSA-2024:0256, ALSA-2024:0466, ALSA-2024:2292, ALSA-2024:3062, AZL-109662 and 49 more.