{"answers":{"affected":"It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-22217 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2020-22217 is a medium-severity memory corruption 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-2020-22217 and fix it if it is affected.\n\nWhat it is: CVE-2020-22217 is a medium-severity memory corruption 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-2020-22217 exists.\n\nAffected product: Debian Debian Linux. 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-2020-22217/ (Markdown: https://insights.sbomify.com/CVE-2020-22217/index.md)","id":"CVE-2020-22217","markdown":"https://insights.sbomify.com/CVE-2020-22217/index.md","name":"CVE-2020-22217","record":{"aliases":["AZL-28597","DEBIAN-CVE-2020-22217","DLA-3567-1","GHSA-88q4-8vpj-fqpg","RHSA-2024:0419","RHSA-2024:0578","SUSE-SU-2023:3690-1","UBUNTU-CVE-2020-22217","USN-6376-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"c-ares DNS library","requires_auth":"none","summary":"A buffer overflow in the c-ares DNS library allows attackers to execute arbitrary code or cause denial of service via crafted SOA replies.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"c-ares","vendor":"c-ares"},{"product":"debian_linux","vendor":"debian"}],"cvss":{"score":5.9,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"description":"Buffer overflow vulnerability in c-ares before 1_16_1 thru 1_17_0 via function ares_parse_soa_reply in ares_parse_soa_reply.c.","ecosystems":["Red Hat:rhel_eus:8.6::baseos","Red Hat:rhel_eus:8.8::baseos","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:Linux Enterprise Workstation Extension 12 SP5"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2020-22217","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"debian:debian_linux","products":["debian:debian_linux"],"type":"memory_corruption","year":"2020"},"n_packages":12,"n_references":2,"next":{"headline":"Memory corruption in n/a","id":"CVE-2020-22218"},"packages":[{"ecosystem":"Red Hat:rhel_eus:8.6::baseos","fixed":["0:1.13.0-6.el8_6.3"],"introduced":["0"],"last_affected":[],"package":"c-ares","purl":"pkg:rpm/redhat/c-ares","source":"RHSA-2024:0419"},{"ecosystem":"Red Hat:rhel_eus:8.6::baseos","fixed":["0:1.13.0-6.el8_6.3"],"introduced":["0"],"last_affected":[],"package":"c-ares-debuginfo","purl":"pkg:rpm/redhat/c-ares-debuginfo","source":"RHSA-2024:0419"},{"ecosystem":"Red Hat:rhel_eus:8.6::baseos","fixed":["0:1.13.0-6.el8_6.3"],"introduced":["0"],"last_affected":[],"package":"c-ares-debugsource","purl":"pkg:rpm/redhat/c-ares-debugsource","source":"RHSA-2024:0419"},{"ecosystem":"Red Hat:rhel_eus:8.6::baseos","fixed":["0:1.13.0-6.el8_6.3"],"introduced":["0"],"last_affected":[],"package":"c-ares-devel","purl":"pkg:rpm/redhat/c-ares-devel","source":"RHSA-2024:0419"},{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["0:1.13.0-6.el8_8.4"],"introduced":["0"],"last_affected":[],"package":"c-ares","purl":"pkg:rpm/redhat/c-ares","source":"RHSA-2024:0578"},{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["0:1.13.0-6.el8_8.4"],"introduced":["0"],"last_affected":[],"package":"c-ares-debuginfo","purl":"pkg:rpm/redhat/c-ares-debuginfo","source":"RHSA-2024:0578"},{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["0:1.13.0-6.el8_8.4"],"introduced":["0"],"last_affected":[],"package":"c-ares-debugsource","purl":"pkg:rpm/redhat/c-ares-debugsource","source":"RHSA-2024:0578"},{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["0:1.13.0-6.el8_8.4"],"introduced":["0"],"last_affected":[],"package":"c-ares-devel","purl":"pkg:rpm/redhat/c-ares-devel","source":"RHSA-2024:0578"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["1.9.1-9.18.1"],"introduced":["0"],"last_affected":[],"package":"libcares2","purl":"pkg:rpm/suse/libcares2\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2023:3690-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["1.9.1-9.18.1"],"introduced":["0"],"last_affected":[],"package":"libcares2","purl":"pkg:rpm/suse/libcares2\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2023:3690-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["1.9.1-9.18.1"],"introduced":["0"],"last_affected":[],"package":"libcares2","purl":"pkg:rpm/suse/libcares2\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2023:3690-1"},{"ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP5","fixed":["1.9.1-9.18.1"],"introduced":["0"],"last_affected":[],"package":"libcares2","purl":"pkg:rpm/suse/libcares2\u0026distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2012%20SP5","source":"SUSE-SU-2023:3690-1"}],"prev":{"headline":"SQL injection in n/a","id":"CVE-2020-22212"},"products":["n/a"],"published":"2023-08-22","related":[{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2016-5180","kev_date_added":null,"published":"2016-10-03"},{"cvss_score":7.5,"headline":"Information disclosure in n/a","id":"CVE-2017-1000381","kev_date_added":null,"published":"2017-07-07"},{"cvss_score":5.9,"headline":"c-ares has a Use After Free vulnerability when connection is cleaned up after error","id":"CVE-2025-62408","kev_date_added":null,"published":"2025-12-08"},{"cvss_score":4.4,"headline":"c-ares out of bounds read in ares__read_line()","id":"CVE-2024-25629","kev_date_added":null,"published":"2024-02-23"},{"cvss_score":3.3,"headline":"Use after free in c-ares","id":"CVE-2020-14354","kev_date_added":null,"published":"2021-05-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-10-03","vendors":["n/a"]},"summary":"A buffer overflow in the c-ares DNS library allows attackers to execute arbitrary code or cause denial of service via crafted SOA replies.","url":"https://insights.sbomify.com/CVE-2020-22217/"}