CVE-2022-48565: XEE

Published Aug 22, 2023
·
Updated

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.

Other sources

Python could allow a local authenticated attacker to obtain sensitive information, caused by improper handling of XML external entity (XXE) declarations by the plistlib module. By using a specially crafted XML content, a remote attacker could exploit this vulnerability to obtain sensitive information, and use this information to launch further attacks against the affected system.

— IBM

Affected Software

30 affected componentsFixes available
redhat/python<3.10.0
3.10.0
redhat/python<3.9.1
3.9.1
redhat/python<3.8.7
3.8.7
redhat/python<3.7.10
3.7.10
redhat/python<3.6.13
3.6.13
IBM Security QRadar EDR<=3.12
Python Python<3.6.13
Python Python>=3.7.0<3.7.10
Python Python>=3.8.0<3.8.7
Python Python>=3.9.0<3.9.1
Debian Debian Linux=10.0
debian/pypy3<7.3.5+dfsg-2
7.3.5+dfsg-2
debian/pypy3<7.3.5+dfsg-2
7.3.5+dfsg-2
debian/pypy3<7.3.5+dfsg-2
7.3.5+dfsg-2
debian/pypy3
7.3.5+dfsg-2
debian/python2.7
2.7.16-2+deb10u32.7.18-8+deb11u1
debian/python3.7
3.7.3-2+deb10u6
debian/python3.9
3.9.1~rc1-1
ubuntu/python2.7<2.7.6-8ubuntu0.6+esm16
2.7.6-8ubuntu0.6+esm16
ubuntu/python3.5<3.5.2-2ubuntu0~16.04.4~14.04.1+esm1
3.5.2-2ubuntu0~16.04.4~14.04.1+esm1
ubuntu/python3.4*
ubuntu/python2.7<2.7.12-1ubuntu0~16.04.18+esm6
2.7.12-1ubuntu0~16.04.18+esm6
ubuntu/python3.5<3.5.2-2ubuntu0~16.04.13+esm9
3.5.2-2ubuntu0~16.04.13+esm9
ubuntu/python2.7<2.7.17-1~18.04ubuntu1.13+esm1
2.7.17-1~18.04ubuntu1.13+esm1
ubuntu/python3.6<3.6.9-1~18.04ubuntu1.13+esm2
3.6.9-1~18.04ubuntu1.13+esm2
ubuntu/python3.7<3.7.5-2ubuntu1~18.04.2+esm3
3.7.5-2ubuntu1~18.04.2+esm3
ubuntu/python3.8<3.8.0-3ubuntu1~18.04.2+esm2
3.8.0-3ubuntu1~18.04.2+esm2
ubuntu/python2.7<2.7.18-1~20.04.7
2.7.18-1~20.04.7
ubuntu/python3.9<3.9.5-3~20.04.1
3.9.5-3~20.04.1
ubuntu/python2.7<2.7.18-13ubuntu1.5
2.7.18-13ubuntu1.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/python to a version that resolves this vulnerability.

    Fixed in 3.10.0
  2. Upgrade

    Upgrade redhat/python to a version that resolves this vulnerability.

    Fixed in 3.9.1
  3. Upgrade

    Upgrade redhat/python to a version that resolves this vulnerability.

    Fixed in 3.8.7
  4. Upgrade

    Upgrade redhat/python to a version that resolves this vulnerability.

    Fixed in 3.7.10
  5. Upgrade

    Upgrade redhat/python to a version that resolves this vulnerability.

    Fixed in 3.6.13
  6. Upgrade

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

    Fixed in 7.3.5+dfsg-2
  7. Upgrade

    Upgrade debian/python2.7 to a version that resolves this vulnerability.

    Fixed in 2.7.16-2+deb10u3Fixed in 2.7.18-8+deb11u1
  8. Upgrade

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

    Fixed in 3.7.3-2+deb10u6
  9. Upgrade

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

    Fixed in 3.9.1~rc1-1
  10. Upgrade

    Upgrade ubuntu/python2.7 to a version that resolves this vulnerability.

    Fixed in 2.7.6-8ubuntu0.6+esm16
  11. Upgrade

    Upgrade ubuntu/python3.5 to a version that resolves this vulnerability.

    Fixed in 3.5.2-2ubuntu0~16.04.4~14.04.1+esm1
  12. Upgrade

    Upgrade ubuntu/python2.7 to a version that resolves this vulnerability.

    Fixed in 2.7.12-1ubuntu0~16.04.18+esm6
  13. Upgrade

    Upgrade ubuntu/python3.5 to a version that resolves this vulnerability.

    Fixed in 3.5.2-2ubuntu0~16.04.13+esm9
  14. Upgrade

    Upgrade ubuntu/python2.7 to a version that resolves this vulnerability.

    Fixed in 2.7.17-1~18.04ubuntu1.13+esm1
  15. Upgrade

    Upgrade ubuntu/python3.6 to a version that resolves this vulnerability.

    Fixed in 3.6.9-1~18.04ubuntu1.13+esm2
  16. Upgrade

    Upgrade ubuntu/python3.7 to a version that resolves this vulnerability.

    Fixed in 3.7.5-2ubuntu1~18.04.2+esm3
  17. Upgrade

    Upgrade ubuntu/python3.8 to a version that resolves this vulnerability.

    Fixed in 3.8.0-3ubuntu1~18.04.2+esm2
  18. Upgrade

    Upgrade ubuntu/python2.7 to a version that resolves this vulnerability.

    Fixed in 2.7.18-1~20.04.7
  19. Upgrade

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

    Fixed in 3.9.5-3~20.04.1
  20. Upgrade

    Upgrade ubuntu/python2.7 to a version that resolves this vulnerability.

    Fixed in 2.7.18-13ubuntu1.5

Event History

Aug 22, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via OSV·12:00 AM
Description
Updated
12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
Sep 1, 2023
Data Sourced
01:36 PM
Weakness
Sep 21, 2023
Data Sourced
via Red Hat·03:45 PM
DescriptionSeverityAffected Software
Nov 3, 2023
Updated
10:15 PM
Affected Software
Nov 7, 2023
Data Sourced
via NVD·03:56 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
03:56 AM
Affected Software
Aug 3, 2024
Data Sourced
via MITRE·03:17 PM
Description
Oct 22, 2024
Exploit Published
via GitHub·05:58 AM
Nov 21, 2024
Updated
via NVD·07:33 AM
RemedyAffected Software
Mar 14, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Jun 17, 2026
Updated
via NVD·05:15 AM
Affected Software
Oct 21, 2026
Data Sourced
via Microsoft·08:08 AM
DescriptionSeverityWeakness
Nov 24, 2026
Data Sourced
via OSV·02:54 PM
SeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2022-48565?

CVE-2022-48565 is an XML External Entity (XXE) issue in Python through 3.9.1.

2

What is the severity of CVE-2022-48565?

The severity of CVE-2022-48565 is critical with a severity value of 9.8.

3

How does CVE-2022-48565 affect Python?

CVE-2022-48565 affects Python through version 3.9.1.

4

What is the remedy for CVE-2022-48565?

Please update to the recommended versions: Python 2.7.17-1~18.04ubuntu1.13+ (Ubuntu Bionic), Python 2.7.6-8ubuntu0.6+ (Ubuntu Trusty), Python 2.7.12-1ubuntu0~16.04.18+ (Ubuntu Xenial), Python 3.5.2-2ubuntu0~16.04.13+ (Ubuntu Xenial), or Python 3.9.5-3~20.04.1 (Ubuntu Focal).

5

Where can I find more information about CVE-2022-48565?

You can find more information about CVE-2022-48565 on the following references: [Link 1](https://bugs.python.org/issue42051), [Link 2](https://launchpad.net/bugs/cve/CVE-2022-48565), [Link 3](https://github.com/python/cpython/issues/86217).

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