{"answers":{"affected":"3 open source packages ship an affected version, including libpython, python and python-min. It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-48565 exists.","fix":"Upgrade libpython to a fixed version for your release line: 3.6.13, 3.7.10, 3.8.7 or 3.9.1.","what":"CVE-2022-48565 is a critical vulnerability in Debian Debian Linux, published on 22 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-48565 and fix it if it is affected.\n\nWhat it is: CVE-2022-48565 is a critical vulnerability in Debian Debian Linux, published on 22 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-48565 exists.\n\nAffected packages and fixed versions:\n- libpython (Bitnami): affected all versions; fixed in 3.6.13, 3.7.10, 3.8.7, 3.9.1\n- python (Bitnami): affected all versions; fixed in 3.6.13, 3.7.10, 3.8.7, 3.9.1\n- python-min (Bitnami): affected all versions; fixed in 3.6.13, 3.7.10, 3.8.7, 3.9.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-48565/ (Markdown: https://insights.sbomify.com/CVE-2022-48565/index.md)","id":"CVE-2022-48565","markdown":"https://insights.sbomify.com/CVE-2022-48565/index.md","name":"CVE-2022-48565","record":{"aliases":["AZL-109653","BIT-libpython-2022-48565","BIT-python-2022-48565","BIT-python-min-2022-48565","CLSA-2023-1694538236","CLSA-2023-1694538434","CLSA-2023-1694538765","CLSA-2023-1694538837","CLSA-2023-1696877835","CLSA-2023-1696878020","CLSA-2023-1696878189","CLSA-2023-1696879417","CLSA-2023-1696880318","CLSA-2026-1776861173","DEBIAN-CVE-2022-48565","GHSA-crhm-wc96-7579","OESA-2023-1597","OESA-2023-1598","PSF-2023-5","UBUNTU-CVE-2022-48565","USN-6354-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["data_read","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python standard library","requires_auth":"none","summary":"An XML External Entity vulnerability in Python's plistlib module allows attackers to read files or cause denial of service via crafted XML plists.","user_interaction":"not_required","vuln_class":"xxe"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"python","vendor":"python"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"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.","ecosystems":["Bitnami"],"exploits":{"exploitdb":0,"first_seen":"2024-10-22","github_poc":1,"max_poc_stars":3,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-10-22T05:58:24Z","kind":"github_poc","ref":"https://github.com/Einstein2150/CVE-2022-48565-POC","stars":3,"title":"A proof-of-concept for CVE-2022-48565 - python plistlib XML deserialisation attack"}],"tier":"weaponised"},"has_fix":true,"headline":"XML external entity in n/a","id":"CVE-2022-48565","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"debian:debian_linux","products":["debian:debian_linux","python:python"],"type":"xxe","year":"2022"},"n_packages":3,"n_references":7,"next":{"headline":"Race condition in n/a","id":"CVE-2022-48566"},"packages":[{"ecosystem":"Bitnami","fixed":["3.6.13","3.7.10","3.8.7","3.9.1"],"introduced":["0","3.7.0","3.8.0","3.9.0"],"last_affected":[],"package":"libpython","purl":"pkg:bitnami/libpython","source":"BIT-libpython-2022-48565"},{"ecosystem":"Bitnami","fixed":["3.6.13","3.7.10","3.8.7","3.9.1"],"introduced":["0","3.7.0","3.8.0","3.9.0"],"last_affected":[],"package":"python","purl":"pkg:bitnami/python","source":"BIT-python-2022-48565"},{"ecosystem":"Bitnami","fixed":["3.6.13","3.7.10","3.8.7","3.9.1"],"introduced":["0","3.7.0","3.8.0","3.9.0"],"last_affected":[],"package":"python-min","purl":"pkg:bitnami/python-min","source":"BIT-python-min-2022-48565"}],"prev":{"headline":"Denial of service in n/a","id":"CVE-2022-48564"},"products":["n/a"],"published":"2023-08-22","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-10-03","vendors":["n/a"]},"summary":"An XML External Entity vulnerability in Python's plistlib module allows attackers to read files or cause denial of service via crafted XML plists.","url":"https://insights.sbomify.com/CVE-2022-48565/"}