{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-0217 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2022-0217 is a high-severity vulnerability in prosody, published on 26 Aug 2022. 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-0217 and fix it if it is affected.\n\nWhat it is: CVE-2022-0217 is a high-severity vulnerability in prosody, published on 26 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-0217 in the wild and no public exploit code.\n\nAffected product: prosody. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-0217/ (Markdown: https://insights.sbomify.com/CVE-2022-0217/index.md)","id":"CVE-2022-0217","markdown":"https://insights.sbomify.com/CVE-2022-0217/index.md","name":"CVE-2022-0217","record":{"aliases":["DEBIAN-CVE-2022-0217","DSA-5047-1","UBUNTU-CVE-2022-0217","openSUSE-SU-2022:0012-1","openSUSE-SU-2024:11736-1"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Prosody XMPP server","requires_auth":"none","summary":"Attackers can exploit XML parsing flaws in Prosody to cause denial of service or read sensitive data via entity expansion and external entity injection.","user_interaction":"not_required","vuln_class":"xxe"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"prosody","vendor":"prosody"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"},{"id":"CWE-776","name":"Improper Restriction of Recursive Entity References in DTDs"}],"description":"It was discovered that an internal Prosody library to load XML based on libexpat does not properly restrict the XML features allowed in parsed XML data. Given suitable attacker input, this results in expansion of recursive entity references from DTDs (CWE-776). In addition, depending on the libexpat version used, it may also allow injections using XML External Entity References (CWE-611).","ecosystems":["SUSE:Package Hub 15 SP3","openSUSE:Leap 15.3","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"XML external entity in prosody","id":"CVE-2022-0217","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xxe","year":"2022"},"n_packages":3,"n_references":3,"next":{"headline":"WP HTML Mail \u003c= 3.0.9 Missing Authorization on REST-API Route","id":"CVE-2022-0218"},"packages":[{"ecosystem":"SUSE:Package Hub 15 SP3","fixed":["0.11.12-bp153.2.12.1"],"introduced":["0"],"last_affected":[],"package":"prosody","purl":"pkg:rpm/suse/prosody\u0026distro=SUSE%20Package%20Hub%2015%20SP3","source":"openSUSE-SU-2022:0012-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["0.11.12-bp153.2.12.1"],"introduced":["0"],"last_affected":[],"package":"prosody","purl":"pkg:rpm/opensuse/prosody\u0026distro=openSUSE%20Leap%2015.3","source":"openSUSE-SU-2022:0012-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.11.12-1.1"],"introduced":["0"],"last_affected":[],"package":"prosody","purl":"pkg:rpm/opensuse/prosody\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:11736-1"}],"prev":{"headline":"Use after free in QEMU","id":"CVE-2022-0216"},"products":["prosody"],"published":"2022-08-26","related":[{"cvss_score":7.8,"headline":"Denial of service in n/a","id":"CVE-2014-2745","kev_date_added":null,"published":"2014-04-11"},{"cvss_score":7.5,"headline":"Information disclosure in n/a","id":"CVE-2021-37601","kev_date_added":null,"published":"2021-07-28"},{"cvss_score":6.5,"headline":"Missing authorization in Prosody","id":"CVE-2026-43504","kev_date_added":null,"published":"2026-05-01"},{"cvss_score":6.5,"headline":"Missing authorization in Prosody","id":"CVE-2026-43505","kev_date_added":null,"published":"2026-05-01"},{"cvss_score":5.3,"headline":"Denial of service in Prosody","id":"CVE-2026-43506","kev_date_added":null,"published":"2026-05-01"},{"cvss_score":5.3,"headline":"Denial of service in Prosody","id":"CVE-2026-43507","kev_date_added":null,"published":"2026-05-01"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-02","vendors":["n/a"]},"summary":"Attackers can exploit XML parsing flaws in Prosody to cause denial of service or read sensitive data via entity expansion and external entity injection.","url":"https://insights.sbomify.com/CVE-2022-0217/"}