Skip to content
Fencer Vulns
critical 9.8

CVE-2022-48565 json

An XML External Entity (XXE) issue was discovered in Python through 3.9.1.

published 2023-08-22 3 y ago modified 2026-09-08 2 mo ago also BIT-libpython-2022-48565 , BIT-python-2022-48565 , BIT-python-min-2022-48565 , EUVD-2022-51261 , GHSA-crhm-wc96-7579

cvss
9.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
5.2%
EPSS 5.2% chance of exploitation in 30 days, percentile 92%
public exploits
0
none known

Summary

An XML External Entity (XXE) issue was discovered in Python through 3.9.1. The plistlib module no longer accepts entity declarations in XML plist files to avoid XML vulnerabilities.

Patch / fix

  • bitnami libpython 3.6.13, 3.7.10, 3.8.7, 3.9.1
  • bitnami python 3.6.13, 3.7.10, 3.8.7, 3.9.1
  • bitnami python-min 3.6.13, 3.7.10, 3.8.7, 3.9.1
  • python python 3.6.13, 3.7.10, 3.8.7, 3.9.1
  • pypy3 Debian 14, Debian 13, Debian 12 7.3.5+dfsg-2

debian advisories DEBIAN-CVE-2022-48565

  • python2.7 Ubuntu 20.04 LTS 2.7.18-1~20.04.7
  • python2.7 Ubuntu 22.04 LTS 2.7.18-13ubuntu1.5
  • python3.9 Ubuntu 20.04 LTS 3.9.5-3~20.04.1
  • python2.7 Ubuntu Pro 14.04 LTS 2.7.6-8ubuntu0.6+esm16
  • python2.7 Ubuntu Pro 16.04 LTS 2.7.12-1ubuntu0~16.04.18+esm6
  • python2.7 Ubuntu Pro 18.04 LTS 2.7.17-1~18.04ubuntu1.13+esm1
  • python3.5 Ubuntu Pro 14.04 LTS 3.5.2-2ubuntu0~16.04.4~14.04.1+esm1
  • python3.5 Ubuntu Pro 16.04 LTS 3.5.2-2ubuntu0~16.04.13+esm9

ubuntu advisories UBUNTU-CVE-2022-48565

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

  • pytz RHEL 8 2017.2-13.module+el8.9.0+19487+7dc18407
  • babel RHEL 8 2.5.1-10.module+el8.9.0+19487+7dc18407
  • numpy RHEL 8 1:1.14.2-16.module+el8.9.0+19487+7dc18407
  • scipy RHEL 8 1.0.0-22.module+el8.9.0+19487+7dc18407
  • Cython RHEL 8 0.28.1-7.module+el8.9.0+19487+7dc18407
  • pytest RHEL 8 3.4.2-13.module+el8.9.0+19487+7dc18407
  • PyYAML RHEL 8 3.12-16.module+el8.9.0+19487+7dc18407
  • python2 RHEL 8 2.7.18-17.module+el8.10.0+20822+a15ec22d

red hat advisories RHSA-2024:2987

  • python SLE Module for Package Hub 15 SP5, openSUSE Leap 15.5, openSUSE Leap 15.4 +2 more 2.7.18-150000.57.1
  • python-base SLE Module for Package Hub 15 SP5, SLE Module for Package Hub 15 SP4, openSUSE Leap 15.5 +3 more 2.7.18-150000.57.1
  • python SLES for SAP 12 SP5, SLES 12 SP5 2.7.18-33.26.1
  • python-base SLES for SAP 12 SP5, SLES 12 SP5, SLE Workstation Extension 12 SP5 2.7.18-33.26.1

suse advisories SUSE-SU-2023:4220-1SUSE-SU-2023:4001-1

  • python openSUSE Tumbleweed 2.7.18-39.1

opensuse advisories openSUSE-SU-2024:13253-1

  • babel AlmaLinux 8 2.5.1-10.module_el8.6.0+2781+fed64c13
  • python2 AlmaLinux 8 2.7.18-17.module_el8.10.0+3783+2756348e.alma
  • python2-py AlmaLinux 8 1.5.3-6.module_el8.6.0+2781+fed64c13
  • python2-dns AlmaLinux 8 1.15.0-10.module_el8.6.0+2781+fed64c13
  • python2-pip AlmaLinux 8 9.0.3-19.module_el8.6.0+2781+fed64c13
  • python2-six AlmaLinux 8 1.11.0-6.module_el8.6.0+2781+fed64c13
  • python2-bson AlmaLinux 8 3.7.0-1.module_el8.6.0+2781+fed64c13
  • python2-bson AlmaLinux 8 3.7.0-1.module_el8.6.0+3162+01a09e5a

almalinux advisories ALSA-2024:2987

  • pytz Rocky Linux 8 2017.2-13.module+el8.10.0+1817+0b01df83
  • babel Rocky Linux 8 2.5.1-10.module+el8.9.0+1531+a18208f5
  • numpy Rocky Linux 8 1:1.14.2-16.module+el8.9.0+1531+a18208f5
  • scipy Rocky Linux 8 1.0.0-22.module+el8.10.0+1817+0b01df83
  • Cython Rocky Linux 8 0.28.1-7.module+el8.9.0+1531+a18208f5
  • pytest Rocky Linux 8 3.4.2-13.module+el8.9.0+1531+a18208f5
  • PyYAML Rocky Linux 8 3.12-16.module+el8.9.0+1531+a18208f5
  • python2 Rocky Linux 8 2.7.18-17.module+el8.10.0+1813+4b021305.rocky.0.2

rocky linux advisories RLSA-2024:2987

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-2022-48565 updated cvss 7.1

python: XML External Entity in XML processing plistlib module

  • 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: workaround, no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 python2, python2-libs, python2-test, python2-tools, python2-tkinter
    affected: workaround, no fix available, no fix planned “Will not fix”
  • Red Hat Enterprise Linux AppStream (v. 8) babel 2.5.1-10.module+el8.9.0+19487+7dc18407, pytz 2017.2-13.module+el8.9.0+19487+7dc18407, PyYAML 3.12-16.module+el8.9.0+19487+7dc18407, scipy 1.0.0-22.module+el8.9.0+19487+7dc18407, Cython 0.28.1-7.module+el8.9.0+19487+7dc18407, numpy 1.14.2-16.module+el8.9.0+19487+7dc18407, +83 more
    fixed: vendor fix RHSA-2024:2987
  • Red Hat Enterprise Linux 8 numpy, scipy, PyYAML, python3, mod_wsgi, python36, +83 more Red Hat Enterprise Linux 9 python3, python3.9, python3.11, python3-idle, python3-libs, python3-test, +6 more 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
    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 SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
total
Assessed
2 y ago

Exploit prediction

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

Exploits and checks

  • bugs.python.org https://bugs.python.org/issue42051 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
bitnami libpython
<3.6.13
>=3.7.0, <3.7.10
>=3.8.0, <3.8.7
>=3.9.0, <3.9.1
3.6.13
3.7.10
3.8.7
3.9.1
bitnami python
<3.6.13
>=3.7.0, <3.7.10
>=3.8.0, <3.8.7
>=3.9.0, <3.9.1
3.6.13
3.7.10
3.8.7
3.9.1
bitnami python-min
<3.6.13
>=3.7.0, <3.7.10
>=3.8.0, <3.8.7
>=3.9.0, <3.9.1
3.6.13
3.7.10
3.8.7
3.9.1

Classification

Weakness
  • CWE-611 Improper Restriction of XML External Entity Reference

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.