CVE-2020-22217
Buffer overflow vulnerability in c-ares before 1_16_1 thru 1_17_0 via function...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.9
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.
- Record
CVE-2020-22217- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2020-22217- Updated
- 2026-11-02
EUVDEUVD-2020-14982 No score
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.
- Record
EUVD-2020-14982- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-88q4-8vpj-fqpg
9.8
Buffer overflow vulnerability in c-ares before 1_16_1 thru 1_17_0 via function...
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.
- Record
GHSA-88q4-8vpj-fqpg- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-125, CWE-787
- Updated
- 2026-11-02
OSVAZL-28597
5.9
CVE-2020-22217 affecting package python-gevent for versions less than 21.1.2-1
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.
- Record
AZL-28597- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
5.9
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.
- Record
CVE-2020-22217- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 10 moreShow less
OSVDEBIAN-CVE-2020-22217
5.9
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.
- Record
DEBIAN-CVE-2020-22217- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRHSA-2023:7207
5.9
Red Hat Security Advisory: c-ares security update
- Record
RHSA-2023:7207- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRHSA-2024:0419
5.9
Red Hat Security Advisory: c-ares security update
- Record
RHSA-2024:0419- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRHSA-2024:0578
5.9
Red Hat Security Advisory: c-ares security update
- Record
RHSA-2024:0578- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-22217
5.9
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.
- Record
UBUNTU-CVE-2020-22217- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVALSA-2023:7207 No score
Moderate: c-ares security update
The c-ares C library defines asynchronous DNS (Domain Name System) requests and provides name resolving API.
Security Fix(es):
- c-ares: Heap buffer over read in ares_parse_soa_reply (CVE-2020-22217)
- c-ares: Buffer Underwrite in ares_inet_net_pton() (CVE-2023-31130)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
ALSA-2023:7207- Updated
- 2026-11-02
OSVRLSA-2023:7207 No score
Moderate: c-ares security update
The c-ares C library defines asynchronous DNS (Domain Name System) requests and provides name resolving API.
Security Fix(es):
-
c-ares: Heap buffer over read in ares_parse_soa_reply (CVE-2020-22217)
-
c-ares: Buffer Underwrite in ares_inet_net_pton() (CVE-2023-31130)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
RLSA-2023:7207- Updated
- 2026-11-02
OSVSUSE-SU-2023:3690-1 No score
Security update for libcares2
This update for libcares2 fixes the following issues:
- CVE-2020-22217: Fixed an out of bounds read in ares_parse_soa_reply(). (bsc#1214674)
- Record
SUSE-SU-2023:3690-1- Updated
- 2026-11-02
OSVUSN-6376-1 No score
c-ares vulnerability
It was discovered that c-ares incorrectly parsed certain SOA replies. A remote attacker could possibly use this issue to cause c-res to crash, resulting in a denial of service.
- Record
USN-6376-1- Updated
- 2026-11-02
OSVUSN-8951-1 No score
c-ares vulnerabilities
It was discovered that c-ares incorrectly parsed certain SOA replies. A remote attacker could possibly use this issue to cause c-ares to crash, resulting in a denial of service. This issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2020-22217)
It was discovered that c-ares incorrectly handled certain sortlist strings. A remote attacker could possibly use this issue to cause c-ares to crash, resulting in a denial of service, or execute arbitrary code. This issue only affected Ubuntu 16.04 LTS. (CVE-2022-4904)
It was discovered that c-ares did not properly limit DNS compression pointer hops or assembled name lengths when parsing DNS names. A remote attacker could possibly use this issue to cause c-ares to use excessive resources, resulting in a denial of service. (CVE-2026-69184)
It was discovered that c-ares did not properly validate record count fields before allocating memory when parsing DNS responses. A remote attacker could possibly use this issue to cause c-ares to use excessive resources, resulting in a denial of service. This issue only affected Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-69186)
- Record
USN-8951-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
c-aresAlmaLinux:8 |
before 1.13.0-9.el8_9.1 | 1.13.0-9.el8_9.1 |
c-ares-develAlmaLinux:8 |
before 1.13.0-9.el8_9.1 | 1.13.0-9.el8_9.1 |
python-geventAzure Linux:2 |
before 21.1.2-1 | 21.1.2-1 |
c-aresDebian:12 |
before 1.17.1-1 | 1.17.1-1 |
c-aresDebian:13 |
before 1.17.1-1 | 1.17.1-1 |
c-aresDebian:14 |
before 1.17.1-1 | 1.17.1-1 |
c-aresDebian:10 |
before 1.14.0-1+deb10u4, plus listed versions 1.14.0-11.14.0-1+deb10u11.14.0-1+deb10u21.14.0-1+deb10u3 |
1.14.0-1+deb10u4 |
c-aresRed Hat:enterprise_linux:8::baseos |
before 0:1.13.0-9.el8_9.1 | 0:1.13.0-9.el8_9.1 |
c-ares-debuginfoRed Hat:enterprise_linux:8::baseos |
before 0:1.13.0-9.el8_9.1 | 0:1.13.0-9.el8_9.1 |
c-ares-debugsourceRed Hat:enterprise_linux:8::baseos |
before 0:1.13.0-9.el8_9.1 | 0:1.13.0-9.el8_9.1 |
Show 21 moreShow less
| Package | Affected | Fixed |
|---|---|---|
c-ares-develRed Hat:enterprise_linux:8::baseos |
before 0:1.13.0-9.el8_9.1 | 0:1.13.0-9.el8_9.1 |
c-aresRed Hat:rhel_eus:8.6::baseos |
before 0:1.13.0-6.el8_6.3 | 0:1.13.0-6.el8_6.3 |
c-ares-debuginfoRed Hat:rhel_eus:8.6::baseos |
before 0:1.13.0-6.el8_6.3 | 0:1.13.0-6.el8_6.3 |
c-ares-debugsourceRed Hat:rhel_eus:8.6::baseos |
before 0:1.13.0-6.el8_6.3 | 0:1.13.0-6.el8_6.3 |
c-ares-develRed Hat:rhel_eus:8.6::baseos |
before 0:1.13.0-6.el8_6.3 | 0:1.13.0-6.el8_6.3 |
c-aresRed Hat:rhel_eus:8.8::baseos |
before 0:1.13.0-6.el8_8.4 | 0:1.13.0-6.el8_8.4 |
c-ares-debuginfoRed Hat:rhel_eus:8.8::baseos |
before 0:1.13.0-6.el8_8.4 | 0:1.13.0-6.el8_8.4 |
c-ares-debugsourceRed Hat:rhel_eus:8.8::baseos |
before 0:1.13.0-6.el8_8.4 | 0:1.13.0-6.el8_8.4 |
c-ares-develRed Hat:rhel_eus:8.8::baseos |
before 0:1.13.0-6.el8_8.4 | 0:1.13.0-6.el8_8.4 |
c-aresRocky Linux:8 |
before 0:1.13.0-9.el8_9.1 | 0:1.13.0-9.el8_9.1 |
libcares2SUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 1.9.1-9.18.1 | 1.9.1-9.18.1 |
libcares2SUSE:Linux Enterprise Server 12 SP5 |
before 1.9.1-9.18.1 | 1.9.1-9.18.1 |
libcares2SUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 1.9.1-9.18.1 | 1.9.1-9.18.1 |
libcares2SUSE:Linux Enterprise Workstation Extension 12 SP5 |
before 1.9.1-9.18.1 | 1.9.1-9.18.1 |
c-aresUbuntu:Pro:16.04:LTS |
before 1.10.0-3ubuntu0.2+esm4, plus listed versions 1.10.0-21.10.0-31.10.0-3ubuntu0.11.10.0-3ubuntu0.21.10.0-3ubuntu0.2+esm11.10.0-3ubuntu0.2+esm21.10.0-3ubuntu0.2+esm3 |
1.10.0-3ubuntu0.2+esm4 |
c-aresUbuntu:Pro:18.04:LTS |
before 1.14.0-1ubuntu0.2+esm3, plus listed versions 1.13.0-21.13.0-31.14.0-11.14.0-1ubuntu0.11.14.0-1ubuntu0.21.14.0-1ubuntu0.2+esm11.14.0-1ubuntu0.2+esm2 |
1.14.0-1ubuntu0.2+esm3 |
c-aresUbuntu:20.04:LTS |
before 1.15.0-1ubuntu0.4, plus listed versions 1.15.0-1build11.15.0-1ubuntu0.11.15.0-1ubuntu0.21.15.0-1ubuntu0.3 |
1.15.0-1ubuntu0.4 |
c-aresUbuntu:Pro:20.04:LTS |
before 1.15.0-1ubuntu0.5+esm1, plus listed versions 1.15.0-1build11.15.0-1ubuntu0.11.15.0-1ubuntu0.21.15.0-1ubuntu0.31.15.0-1ubuntu0.41.15.0-1ubuntu0.5 |
1.15.0-1ubuntu0.5+esm1 |
c-aresUbuntu:22.04:LTS |
before 1.18.1-1ubuntu0.22.04.4, plus listed versions 1.17.1-1ubuntu11.18.1-11.18.1-1build11.18.1-1ubuntu0.22.04.11.18.1-1ubuntu0.22.04.21.18.1-1ubuntu0.22.04.3 |
1.18.1-1ubuntu0.22.04.4 |
c-aresUbuntu:24.04:LTS |
before 1.27.0-1.0ubuntu1.1, plus listed versions 1.19.1-31.20.1-11.26.0-11.27.0-11.27.0-1.0ubuntu1 |
1.27.0-1.0ubuntu1.1 |
c-aresUbuntu:26.04:LTS |
before 1.34.6-1ubuntu0.2, plus listed versions 1.34.5-11.34.6-11.34.6-1ubuntu0.1 |
1.34.6-1ubuntu0.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-22217 is a medium vulnerability (CVSS 5.9) in C-ares, published August 22, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.98%, the 62nd percentile. Fixed in c-ares 1.13.0-9.el8_9.1.
References
github.com/c-ares/c-ares/issues/333
lists.debian.org/debian-lts-announce/2023/09/msg00014.html
nvd.nist.gov/vuln/detail/CVE-2020-22217
github.com/advisories/GHSA-88q4-8vpj-fqpg
access.redhat.com/errata/RHSA-2023:7207
access.redhat.com/security/cve/CVE-2020-22217
Show 28 moreShow less
access.redhat.com/security/cve/CVE-2023-31130
bugzilla.redhat.com/2209497
bugzilla.redhat.com/2235527
errata.almalinux.org/8/ALSA-2023-7207.html
security-tracker.debian.org/tracker/CVE-2020-22217
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=2209497
bugzilla.redhat.com/show_bug.cgi?id=2235527
security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_7207.json
cve.org/CVERecord?id=CVE-2020-22217
github.com/c-ares/c-ares/pull/332
cve.org/CVERecord?id=CVE-2023-31130
nvd.nist.gov/vuln/detail/CVE-2023-31130
github.com/c-ares/c-ares/security/advisories/GHSA-x6mf-cxr9-8q6v
access.redhat.com/errata/RHSA-2024:0419
security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_0419.json
access.redhat.com/errata/RHSA-2024:0578
security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_0578.json
errata.rockylinux.org/RLSA-2023:7207
suse.com/support/update/announcement/2023/suse-su-20233690-1
bugzilla.suse.com/1214674
suse.com/security/cve/CVE-2020-22217
ubuntu.com/security/CVE-2020-22217
ubuntu.com/security/notices/USN-6376-1
ubuntu.com/security/notices/USN-8951-1
ubuntu.com/security/CVE-2022-4904
ubuntu.com/security/CVE-2026-69184
ubuntu.com/security/CVE-2026-69186