CVE-2022-48565
Vulnerability Summary
Timeline
Description
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.
CVSS Metrics
- v3.1•CRITICAL•Score: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 5.07%• Percentile: 92%
Techniques & Countermeasures
- CWE-611•Improper Restriction of XML External Entity Reference
The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.
Affected Systems
- debian•pypy3
< 7.3.5+dfsg-2 | < 7.3.5+dfsg-2 | < 7.3.5+dfsg-2 | < 7.3.5+dfsg-2
- debian•python2.7
< 2.7.18-8+deb11u1
- debian•python3.9
< 3.9.1~rc1-1
- ubuntu•python2.7
< 2.7.6-8ubuntu0.6+esm16 | < 2.7.12-1ubuntu0~16.04.18+esm6 | < 2.7.17-1~18.04ubuntu1.13+esm1 | < 2.7.18-1~20.04.7 | < 2.7.18-13ubuntu1.5
- ubuntu•python3.4
all
- ubuntu•python3.5
< 3.5.2-2ubuntu0~16.04.4~14.04.1+esm1 | < 3.5.2-2ubuntu0~16.04.13+esm9
- ubuntu•python3.6
< 3.6.9-1~18.04ubuntu1.13+esm2
- ubuntu•python3.7
< 3.7.5-2ubuntu1~18.04.2+esm3
- ubuntu•python3.8
< 3.8.0-3ubuntu1~18.04.2+esm2
- ubuntu•python3.9
< 3.9.5-3~20.04.1
- debian•debian_linux
10.0
- python•python
< 3.6.13 | ≥ 3.7.0, < 3.7.10 | ≥ 3.8.0, < 3.8.7 | ≥ 3.9.0, < 3.9.1
References (16)
- https://bugs.python.org/issue42051
- https://lists.debian.org/debian-lts-announce/2023/09/msg00022.html
- https://security.netapp.com/advisory/ntap-20231006-0007/
- https://lists.debian.org/debian-lts-announce/2023/10/msg00017.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KZRZRJHWLZ7MOJNPQBWGJVXMVYDC5BRA/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AFHYAGWBFBNUGWU6XWKBHTCV5NH77MB7/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BAYWJD576JUKLHCWKDLMJSUGTRDKPF3M/
- https://security-tracker.debian.org/tracker/CVE-2022-48565
- https://ubuntu.com/security/CVE-2022-48565
- https://github.com/python/cpython/commit/05ee790f4d1cd8725a90b54268fc1dfe5b4d1fa2
- https://github.com/python/cpython/commit/479553c7c11306a09ce34edb6ef208133b7b95fe
- https://github.com/python/cpython/commit/e512bc799e3864fe3b1351757261762d63471efc
- https://ubuntu.com/security/notices/USN-6354-1
- https://www.cve.org/CVERecord?id=CVE-2022-48565
- https://ubuntu.com/security/notices/USN-6891-1
- https://ubuntu.com/security/notices/USN-7180-1