CVE-2020-22217 Memory corruption in n/a
A buffer overflow in the c-ares DNS library allows attackers to execute arbitrary code or cause denial of service via crafted SOA replies.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-22217?
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.
Official 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.
Weakness: CWE-125
Which versions are affected by CVE-2020-22217?
It affects 2 products.
Linux distribution packages (12)
c-ares Red Hat:rhel_eus:8.6::baseos | All versions | 0:1.13.0-6.el8_6.3 |
c-ares-debuginfo Red Hat:rhel_eus:8.6::baseos | All versions | 0:1.13.0-6.el8_6.3 |
c-ares-debugsource Red Hat:rhel_eus:8.6::baseos | All versions | 0:1.13.0-6.el8_6.3 |
c-ares-devel Red Hat:rhel_eus:8.6::baseos | All versions | 0:1.13.0-6.el8_6.3 |
c-ares Red Hat:rhel_eus:8.8::baseos | All versions | 0:1.13.0-6.el8_8.4 |
c-ares-debuginfo Red Hat:rhel_eus:8.8::baseos | All versions | 0:1.13.0-6.el8_8.4 |
c-ares-debugsource Red Hat:rhel_eus:8.8::baseos | All versions | 0:1.13.0-6.el8_8.4 |
c-ares-devel Red Hat:rhel_eus:8.8::baseos | All versions | 0:1.13.0-6.el8_8.4 |
libcares2 SUSE:Linux Enterprise Server 12 SP5 | All versions | 1.9.1-9.18.1 |
libcares2 SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | All versions | 1.9.1-9.18.1 |
libcares2 SUSE:Linux Enterprise Software Development Kit 12 SP5 | All versions | 1.9.1-9.18.1 |
libcares2 SUSE:Linux Enterprise Workstation Extension 12 SP5 | All versions | 1.9.1-9.18.1 |
Products include C-Ares C-Ares, Debian Debian Linux.
How do I fix CVE-2020-22217?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2020-22217 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-22217 exists.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as AZL-28597, DEBIAN-CVE-2020-22217, DLA-3567-1, GHSA-88q4-8vpj-fqpg, RHSA-2024:0419, RHSA-2024:0578 and 3 more.