Every CVE Search/ Get API key

CVE-2020-22217

Buffer overflow vulnerability in c-ares before 1_16_1 thru 1_17_0 via function...

5.9 MediumFix available

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

0.98%Up 0.9 points since Aug 23, 2023
90%50%10%1%

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 MediumCVSS: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 CriticalCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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

Affected packages
PackageAffectedFixed
c-ares
AlmaLinux:8
before 1.13.0-9.el8_9.1
1.13.0-9.el8_9.1
c-ares-devel
AlmaLinux:8
before 1.13.0-9.el8_9.1
1.13.0-9.el8_9.1
python-gevent
Azure Linux:2
before 21.1.2-1
21.1.2-1
c-ares
Debian:12
before 1.17.1-1
1.17.1-1
c-ares
Debian:13
before 1.17.1-1
1.17.1-1
c-ares
Debian:14
before 1.17.1-1
1.17.1-1
c-ares
Debian: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-ares
Red Hat:enterprise_linux:8::baseos
before 0:1.13.0-9.el8_9.1
0:1.13.0-9.el8_9.1
c-ares-debuginfo
Red Hat:enterprise_linux:8::baseos
before 0:1.13.0-9.el8_9.1
0:1.13.0-9.el8_9.1
c-ares-debugsource
Red 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
Affected packages
PackageAffectedFixed
c-ares-devel
Red Hat:enterprise_linux:8::baseos
before 0:1.13.0-9.el8_9.1
0:1.13.0-9.el8_9.1
c-ares
Red 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-debuginfo
Red 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-debugsource
Red 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-devel
Red 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
Red 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-debuginfo
Red 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-debugsource
Red 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-devel
Red 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
Rocky Linux:8
before 0:1.13.0-9.el8_9.1
0:1.13.0-9.el8_9.1
libcares2
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 1.9.1-9.18.1
1.9.1-9.18.1
libcares2
SUSE:Linux Enterprise Server 12 SP5
before 1.9.1-9.18.1
1.9.1-9.18.1
libcares2
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 1.9.1-9.18.1
1.9.1-9.18.1
libcares2
SUSE:Linux Enterprise Workstation Extension 12 SP5
before 1.9.1-9.18.1
1.9.1-9.18.1
c-ares
Ubuntu: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-ares
Ubuntu: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-ares
Ubuntu: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-ares
Ubuntu: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-ares
Ubuntu: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-ares
Ubuntu: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-ares
Ubuntu: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

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

Show 28 moreShow less
MoveEnter Open