CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCritical (9.8). EPSS 5.2% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExplain CVE-2022-48565 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-48565?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-48565?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-48565 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| python:python | before 3.6.13 |
| python:python | from 3.7.0 before 3.7.10 |
| python:python | from 3.8.0 before 3.8.7 |
| python:python | from 3.9.0 before 3.9.1 |
| debian:debian_linux | 10.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | python2.7 | 2.7.16-2+deb10u3 | DLA-3575-1 |
| Debian | 10 | python3.7 | 3.7.3-2+deb10u6 | DLA-3614-1 |
| Debian | 12, 13, 14 | pypy3 | 7.3.5+dfsg-2 | DEBIAN-CVE-2022-48565 |
| Ubuntu | 20.04:LTS | python2.7 | 2.7.18-1~20.04.7 | UBUNTU-CVE-2022-48565 USN-7180-1 |
| Ubuntu | 20.04:LTS | python3.8 | 3.8.10-0ubuntu1~20.04.10 | USN-6891-1 |
| Ubuntu | 20.04:LTS | python3.9 | 3.9.5-3~20.04.1 | UBUNTU-CVE-2022-48565 |
| Ubuntu | 22.04:LTS | python2.7 | 2.7.18-13ubuntu1.5 | UBUNTU-CVE-2022-48565 USN-7180-1 |
| Ubuntu | 22.04:LTS | python3.10 | 3.10.12-1~22.04.4 | USN-6891-1 |
| Ubuntu | Pro:14.04:LTS | python2.7 | 2.7.6-8ubuntu0.6+esm16 | UBUNTU-CVE-2022-48565 USN-6354-1 |
| Ubuntu | Pro:14.04:LTS | python3.4 | no fix listed | UBUNTU-CVE-2022-48565 |
| Ubuntu | Pro:14.04:LTS | python3.5 | 3.5.2-2ubuntu0~16.04.4~14.04.1+esm1 | UBUNTU-CVE-2022-48565 USN-6891-1 |
| Ubuntu | Pro:16.04:LTS | python2.7 | 2.7.12-1ubuntu0~16.04.18+esm6 | UBUNTU-CVE-2022-48565 USN-6354-1 |
| Ubuntu | Pro:16.04:LTS | python3.5 | 3.5.2-2ubuntu0~16.04.13+esm9 | UBUNTU-CVE-2022-48565 USN-6354-1 USN-6891-1 |
| Ubuntu | Pro:18.04:LTS | python2.7 | 2.7.17-1~18.04ubuntu1.13+esm1 | UBUNTU-CVE-2022-48565 USN-6354-1 |
| Ubuntu | Pro:18.04:LTS | python3.6 | 3.6.9-1~18.04ubuntu1.13+esm2 | UBUNTU-CVE-2022-48565 USN-6891-1 |
| 4 more for Ubuntu in the JSON and on Ubuntu's page. | ||||
| Red Hat | enterprise_linux:8::appstream | Cython, python2-Cython, Cython-debugsource and 1 more | 0:0.28.1-7.module+el8.9.0+19487+7dc18407 | RHSA-2024:2987 |
| Red Hat | enterprise_linux:8::appstream | PyYAML, python2-pyyaml, PyYAML-debugsource and 1 more | 0:3.12-16.module+el8.9.0+19487+7dc18407 | RHSA-2024:2987 |
| Red Hat | enterprise_linux:8::appstream | babel, python2-babel | 0:2.5.1-10.module+el8.9.0+19487+7dc18407 | RHSA-2024:2987 |
| Red Hat | enterprise_linux:8::appstream | numpy, python2-numpy, numpy-debugsource and 3 more | 1:1.14.2-16.module+el8.9.0+19487+7dc18407 | RHSA-2024:2987 |
| Red Hat | enterprise_linux:8::appstream | pytest, python2-pytest | 0:3.4.2-13.module+el8.9.0+19487+7dc18407 | RHSA-2024:2987 |
| Red Hat | enterprise_linux:8::appstream | python-PyMySQL, python2-PyMySQL | 0:0.8.0-10.module+el8.9.0+19487+7dc18407 | RHSA-2024:2987 |
| Red Hat | enterprise_linux:8::appstream | python-attrs, python2-attrs | 0:17.4.0-10.module+el8.9.0+19487+7dc18407 | RHSA-2024:2987 |
| Red Hat | enterprise_linux:8::appstream | python-backports, python2-backports | 0:1.0-16.module+el8.9.0+18326+1b5baeee | RHSA-2024:2987 |
| Red Hat | enterprise_linux:8::appstream | python-backports-ssl_match_hostname, python2-backports-ssl_match_hostname | 0:3.5.0.1-12.module+el8.9.0+18326+1b5baeee | RHSA-2024:2987 |
| Red Hat | enterprise_linux:8::appstream | python-chardet, python2-chardet | 0:3.0.4-10.module+el8.9.0+19487+7dc18407 | RHSA-2024:2987 |
| Red Hat | enterprise_linux:8::appstream | python-coverage, python2-coverage, python2-coverage-debuginfo and 1 more | 0:4.5.1-5.module+el8.9.0+19487+7dc18407 | RHSA-2024:2987 |
| Red Hat | enterprise_linux:8::appstream | python-dns, python2-dns | 0:1.15.0-10.module+el8.9.0+19487+7dc18407 | RHSA-2024:2987 |
| 30 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Linux Enterprise Module for Package Hub 15 SP4 | python-base | 2.7.18-150000.57.1 | SUSE-SU-2023:4220-1 |
| SUSE | Linux Enterprise Module for Package Hub 15 SP5, Manager Proxy 4.2, Manager Server 4.2 | python, python-base | 2.7.18-150000.57.1 | SUSE-SU-2023:4220-1 |
| SUSE | Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 | python, python-doc, python-base | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE | Linux Enterprise Workstation Extension 12 SP5 | python-base | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| openSUSE | Leap 15.4, Leap 15.5 | python, python-doc, python-base | 2.7.18-150000.57.1 | SUSE-SU-2023:4220-1 |
| openSUSE | Tumbleweed | python | 2.7.18-39.1 | openSUSE-SU-2024:13253-1 |
| AlmaLinux | 8 | babel, python2-babel | 2.5.1-10.module_el8.6.0+2781+fed64c13 | ALSA-2024:2987 |
| AlmaLinux | 8 | python2, python2-libs, python2-test and 4 more | 2.7.18-17.module_el8.10.0+3783+2756348e.alma | ALSA-2024:2987 |
| AlmaLinux | 8 | python2-Cython | 0.28.1-7.module_el8.6.0+2781+fed64c13 | ALSA-2024:2987 |
| AlmaLinux | 8 | python2-Cython | 0.28.1-7.module_el8.6.0+3162+01a09e5a | ALSA-2024:2987 |
| AlmaLinux | 8 | python2-PyMySQL | 0.8.0-10.module_el8.6.0+2781+fed64c13 | ALSA-2024:2987 |
| AlmaLinux | 8 | python2-attrs | 17.4.0-10.module_el8.6.0+2781+fed64c13 | ALSA-2024:2987 |
| AlmaLinux | 8 | python2-backports | 1.0-16.module_el8.6.0+2781+fed64c13 | ALSA-2024:2987 |
| AlmaLinux | 8 | python2-backports | 1.0-16.module_el8.6.0+3162+01a09e5a | ALSA-2024:2987 |
| AlmaLinux | 8 | python2-backports-ssl_match_hostname | 3.5.0.1-12.module_el8.6.0+2781+fed64c13 | ALSA-2024:2987 |
| AlmaLinux | 8 | python2-bson, python2-pymongo, python2-pymongo-gridfs | 3.7.0-1.module_el8.6.0+2781+fed64c13 | ALSA-2024:2987 |
| AlmaLinux | 8 | python2-bson, python2-pymongo, python2-pymongo-gridfs | 3.7.0-1.module_el8.6.0+3162+01a09e5a | ALSA-2024:2987 |
| AlmaLinux | 8 | python2-chardet | 3.0.4-10.module_el8.6.0+2781+fed64c13 | ALSA-2024:2987 |
| 38 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | Cython | 0:0.28.1-7.module+el8.9.0+1531+a18208f5 | RLSA-2024:2987 |
| Rocky Linux | 8 | PyYAML | 0:3.12-16.module+el8.9.0+1531+a18208f5 | RLSA-2024:2987 |
| Rocky Linux | 8 | babel | 0:2.5.1-10.module+el8.9.0+1531+a18208f5 | RLSA-2024:2987 |
| Rocky Linux | 8 | numpy | 1:1.14.2-16.module+el8.9.0+1531+a18208f5 | RLSA-2024:2987 |
| Rocky Linux | 8 | pytest | 0:3.4.2-13.module+el8.9.0+1531+a18208f5 | RLSA-2024:2987 |
| Rocky Linux | 8 | python-PyMySQL | 0:0.8.0-10.module+el8.9.0+1531+a18208f5 | RLSA-2024:2987 |
| Rocky Linux | 8 | python-attrs | 0:17.4.0-10.module+el8.9.0+1531+a18208f5 | RLSA-2024:2987 |
| Rocky Linux | 8 | python-backports | 0:1.0-16.module+el8.9.0+1531+a18208f5 | RLSA-2024:2987 |
| Rocky Linux | 8 | python-backports-ssl_match_hostname | 0:3.5.0.1-12.module+el8.9.0+1531+a18208f5 | RLSA-2024:2987 |
| Rocky Linux | 8 | python-chardet | 0:3.0.4-10.module+el8.9.0+1531+a18208f5 | RLSA-2024:2987 |
| Rocky Linux | 8 | python-coverage | 0:4.5.1-5.module+el8.10.0+1817+0b01df83 | RLSA-2024:2987 |
| Rocky Linux | 8 | python-dns | 0:1.15.0-10.module+el8.9.0+1531+a18208f5 | RLSA-2024:2987 |
| 40 more for Rocky Linux in the JSON. | ||||
| Azure Linux | 3 | python-py | no fix listed | AZL-109653 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Moderate.
This vulnerability is classified as Moderate according to Red Hat's Severity Rating Classification, as in contrast to an Important severity rating, the conditions to exploit this vulnerability makes it highly improbable for a general remote use case to lead to arbitrary code execution or affect data integrity and the highest impact is data disclosure and application crash.
The versions of python as shipped with Red Hat Enterprise Linux 8 and Red Hat Enterprise Linux 9 either has fixed code or they just provide `symlinks` to the main `python3` component, which provides the interpreter of the Python programming language. Therefore, both Red Hat Enterprise Linux versions 8 and 9 are not affected.
https://access.redhat.com/security/updates/classification
The XML modules in python are not secure against erroneous or maliciously constructed data. If you need to parse untrusted or unauthenticated data, see the XML vulnerabilities and the defusedxml package sections.
https://docs.python.org/dev/library/xml.html
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | python27:2.7-8100020240208011952.5f0f67de | Fixed 2024-05-22 | RHSA-2024:2987 |
| Red Hat Enterprise Linux 6 | python | Out of support scope | |
| Red Hat Enterprise Linux 7 | python | Out of support scope | |
| Red Hat Enterprise Linux 7 | python3 | Out of support scope | |
| Red Hat Enterprise Linux 8 | gimp:flatpak/python2 | Affected | |
| Red Hat Enterprise Linux 8 | inkscape:flatpak/python2 | Will not fix | |
| Red Hat Enterprise Linux 8 | python3 | Not affected | |
| Red Hat Enterprise Linux 8 | python3.11 | Not affected | |
| Red Hat Enterprise Linux 8 | python36:3.6/python36 | Not affected | |
| Red Hat Enterprise Linux 8 | python39:3.9/python39 | Not affected | |
| Red Hat Enterprise Linux 9 | python3.11 | Not affected | |
| Red Hat Enterprise Linux 9 | python3.9 | Not affected | |
| Red Hat Software Collections | rh-python38-python | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-48565.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.