Home / c-ares / c-ares / CVE-2021-3672
CVE-2021-3672: is it exploited, and which versions of c-ares are affected and fixed?
CVE-2021-3672 is a cross-site scripting (XSS) vulnerability in c-ares. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: c-ares c-ares 1.17.2 (CVE record by redhat). Fixed in 1.17.2, 1.0.1.1, 12.22.5, 14.17.5 and 1 more (NVD). Severity: Medium (5.6, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:53 UTC.
What is CVE-2021-3672?
A flaw was found in c-ares library, where a missing input validation check of host names returned by DNS (Domain Name Servers) can lead to output of wrong hostnames which might potentially lead to Domain Hijacking. The highest threat from this vulnerability is to confidentiality and integrity as well as system availability.
From the CVE record by redhat, last updated October 15, 2024, 17:14 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| c-ares | c-ares 1.17.2 |
As the CVE record by redhat states it, last updated October 15, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| c-ares project | c-ares | from 1.0.0 before 1.17.2 | application |
| fedoraproject | fedora | 33 | operating system |
| fedoraproject | fedora | 34 | operating system |
| redhat | enterprise linux | 7.0 | operating system |
| redhat | enterprise linux | 7.7 | operating system |
| redhat | enterprise linux | 8.0 | operating system |
| redhat | enterprise linux computer node | 1 | operating system |
| redhat | enterprise linux eus | 7.7 | operating system |
| redhat | enterprise linux eus | 8.1 | operating system |
| redhat | enterprise linux eus | 8.2 | operating system |
| redhat | enterprise linux eus | 8.4 | operating system |
| redhat | enterprise linux for ibm z systems | 8.0 | operating system |
| redhat | enterprise linux for ibm z systems eus | 8.1 | operating system |
| redhat | enterprise linux for ibm z systems eus | 8.2 | operating system |
| redhat | enterprise linux for ibm z systems eus | 8.4 | operating system |
| redhat | enterprise linux for power little endian | 8.0 | operating system |
| redhat | enterprise linux for power little endian eus | 8.1 | operating system |
| redhat | enterprise linux for power little endian eus | 8.2 | operating system |
| redhat | enterprise linux for power little endian eus | 8.4 | operating system |
| redhat | enterprise linux server aus | 8.2 | operating system |
| redhat | enterprise linux server aus | 8.4 | operating system |
| redhat | enterprise linux server tus | 8.2 | operating system |
| redhat | enterprise linux server tus | 8.4 | operating system |
| redhat | enterprise linux server update services for sap solutions | 8.1 | operating system |
| redhat | enterprise linux server update services for sap solutions | 8.2 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 04:05 UTC.
How severe is CVE-2021-3672?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L | NVD |
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-3672 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 15, 2024)
- EPSS
- 2.81% probability of exploitation activity in the next 30 days, percentile 86.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://bugzilla.redhat.com/show_bug.cgi?id=1988342
- https://c-ares.haxx.se/adv_20210810.html
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- https://www.oracle.com/security-alerts/cpujul2022.html
- GLSA-202401-02 vendor-advisory
When was it published, and where is the official record?
- Reserved
- July 30, 2021
- Published
- November 23, 2021, 00:00 UTC
- CVE record updated
- October 15, 2024, 17:14 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 04:05 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:53 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect c-ares?
- Sep 18, 2026CVE-2026-69184 c-ares: denial of service through slow algorithm
- Sep 18, 2026CVE-2026-69186 c-ares: denial of service (uncontrolled resource consumption)
- Sep 3, 2026CVE-2026-33630 c-ares: double free
- Dec 8, 2025CVE-2025-62408 c-ares: use after free
- Apr 8, 2025CVE-2025-31498 c-ares: use after free
- Feb 23, 2024CVE-2024-25629 c-ares: buffer Under-read
- Aug 22, 2023CVE-2020-22217 C-ares: out-of-bounds read
- May 25, 2023CVE-2023-32067 c-ares: denial of service (uncontrolled resource consumption)
Questions about CVE-2021-3672
Is CVE-2021-3672 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 2.81% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of c-ares are affected by CVE-2021-3672?
c-ares c-ares 1.17.2, per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2021-3672?
1.17.2, 1.0.1.1, 12.22.5, 14.17.5 and 16.6.2, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-3672?
Medium (5.6, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-3672?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.