CVSS 3.1
5.9 mediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HMedium (5.9). EPSS 1.0% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HExplain CVE-2020-22217 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-22217?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-22217?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-22217 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| c-ares:c-ares | 1.16.1 |
| c-ares:c-ares | 1.17.0 |
| debian:debian_linux | 10.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | c-ares | 1.14.0-1+deb10u4 | DLA-3567-1 |
| Debian | 12, 13, 14 | c-ares | 1.17.1-1 | DEBIAN-CVE-2020-22217 |
| Ubuntu | 20.04:LTS | c-ares | 1.15.0-1ubuntu0.4 | UBUNTU-CVE-2020-22217 USN-6376-1 |
| Ubuntu | 22.04:LTS | c-ares | 1.18.1-1ubuntu0.22.04.4 | USN-8951-1 |
| Ubuntu | 24.04:LTS | c-ares | 1.27.0-1.0ubuntu1.1 | USN-8951-1 |
| Ubuntu | 26.04:LTS | c-ares | 1.34.6-1ubuntu0.2 | USN-8951-1 |
| Ubuntu | Pro:16.04:LTS | c-ares | 1.10.0-3ubuntu0.2+esm4 | UBUNTU-CVE-2020-22217 USN-8951-1 |
| Ubuntu | Pro:18.04:LTS | c-ares | 1.14.0-1ubuntu0.2+esm3 | UBUNTU-CVE-2020-22217 USN-8951-1 |
| Ubuntu | Pro:20.04:LTS | c-ares | 1.15.0-1ubuntu0.5+esm1 | USN-8951-1 |
| Red Hat | enterprise_linux:8::baseos | c-ares, c-ares-devel, c-ares-debuginfo and 1 more | 0:1.13.0-9.el8_9.1 | RHSA-2023:7207 |
| Red Hat | rhel_eus:8.6::baseos | c-ares, c-ares-devel, c-ares-debuginfo and 1 more | 0:1.13.0-6.el8_6.3 | RHSA-2024:0419 |
| Red Hat | rhel_eus:8.8::baseos | c-ares, c-ares-devel, c-ares-debuginfo and 1 more | 0:1.13.0-6.el8_8.4 | RHSA-2024:0578 |
| SUSE | Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5 and 1 more | libcares2 | 1.9.1-9.18.1 | SUSE-SU-2023:3690-1 |
| AlmaLinux | 8 | c-ares, c-ares-devel | 1.13.0-9.el8_9.1 | ALSA-2023:7207 |
| Rocky Linux | 8 | c-ares | 0:1.13.0-9.el8_9.1 | RLSA-2023:7207 |
| Azure Linux | 2 | python-gevent | 21.1.2-1 | AZL-28597 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.
Red Hat rates this Moderate.
The attack vector for this flaw initiates from a malicious server (a SOA reply to a client query) which requires a attacker set up a server a make it to be queried by a victim through cache poisoning or MITM, raising the Attack Complexity to High.
This being a out of bounds reads does not bring a risk of memory corruption, which makes it of none impact to Integrity. Also the read limitis 2 bytes (16bit, unsigned short int) from the DNS_QUERY_TYPE MACRO[1] return and the read value would be ignored and not propagated anywhere since the subsequent check would also fail making the confidentiality impact as none.
[1] https://github.com/c-ares/c-ares/blob/4d4fb34075c90d8f2f9ff81890152ab60f65e48e/include/ares_dns.h#L95
[2] https://github.com/c-ares/c-ares/issues/333
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | c-ares-0:1.13.0-9.el8_9.1 | Fixed 2023-11-14 | RHSA-2023:7207 |
| Red Hat Enterprise Linux 8.6 Extended Update Support | c-ares-0:1.13.0-6.el8_6.3 | Fixed 2024-01-25 | RHSA-2024:0419 |
| Red Hat Enterprise Linux 8.8 Extended Update Support | c-ares-0:1.13.0-6.el8_8.4 | Fixed 2024-01-30 | RHSA-2024:0578 |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/ee-supported-rhel9 | Not affected | |
| Red Hat Enterprise Linux 6 | c-ares | Out of support scope | |
| Red Hat Enterprise Linux 7 | c-ares | Out of support scope | |
| Red Hat Enterprise Linux 8 | nodejs:16/nodejs | Not affected | |
| Red Hat Enterprise Linux 8 | nodejs:18/nodejs | Not affected | |
| Red Hat Enterprise Linux 8 | nodejs:20/nodejs | Not affected | |
| Red Hat Enterprise Linux 9 | c-ares | Not affected | |
| Red Hat Enterprise Linux 9 | nodejs | Not affected | |
| Red Hat Enterprise Linux 9 | nodejs:18/nodejs | Not affected | |
| Red Hat Enterprise Linux 9 | nodejs:20/nodejs | Not affected | |
| Red Hat Software Collections | rh-nodejs14-nodejs | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-22217.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.