CVE-2021-3672
c-ares: Missing input validation of host names may lead to domain hijacking
Overview
Description
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.
Source: OX vulnerability database
Severity
5.6 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness: CWE-79
Affected packages · 4
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | node | >=12.0.0, <12.12.1>=12.13.0, <12.22.5>=14.0.0, <14.14.1>=14.15.0, <14.17.5>=16.0.0, <16.6.2 | 12.12.112.22.514.14.114.17.516.6.2 |
| Bitnami | node-min | >=12.0.0, <12.12.1>=12.13.0, <12.22.5>=14.0.0, <14.14.1>=14.15.0, <14.17.5>=16.0.0, <16.6.2 | 12.12.112.22.514.14.114.17.516.6.2 |
| Bitnami | pgbouncer | <1.17.1 | 1.17.1 |
| Conan (C/C++) | c-ares | >=1.0.0 <1.17.2 | 1.17.2 |
Open a package to see all its vulnerabilities.
Operating systems · 90 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | ceph | 0:18.2.2-1.azl3 |
Oracle Linux 1 release · 5 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | c-ares +1 | 1.13.0-6.el8 |
| 8 | nodejs +3 | 1:14.17.5-1.module+el8.4.0+20313+f90c2973 |
| 8 | npm | 1:6.14.14-1.14.17.5.1.module+el8.4.0+20313+f90c2973 |
| 8 | nodejs-nodemon | 2.0.3-1.module+el8.4.0+20281+eb64e322 |
| 8 | nodejs-packaging | 23-3.module+el8.3.0+7818+6cd30d85 |
Photon OS 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | c-ares +1 | 1.17.1-1.ph4 |
| 5.0 | pgbouncer | 1.17.0-4.ph5 |
Red Hat 4 releases · 11 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | c-ares +1 | eol | — |
| 7 | rh-nodejs12-nodejs +2 | 0:12.22.5-1.el7 | RHSA-2021:3281 |
| 7 | rh-nodejs14-nodejs +2 | 0:14.17.5-1.el7 | RHSA-2021:3280 |
| 7 | rh-nodejs14-nodejs-nodemon | 0:2.0.3-5.el7 | RHSA-2021:3280 |
| 7 | rh-nodejs12-nodejs-nodemon | 0:2.0.3-5.el7 | RHSA-2021:3281 |
| 7 | rh-nodejs12-npm | 0:6.14.14-12.22.5.1.el7 | RHSA-2021:3281 |
18 more rows
SUSE Linux Enterprise 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | libcares-devel +2 | 1.9.1-9.7.1 | SUSE-SU-2021:2690-1 |
alma 3 releases · 5 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | c-ares +1 | 1.13.0-6.el8 |
| 8 (nodejs:12) | nodejs-packaging | 17-3.module_el8.3.0+2023+d2377ea3 |
| 8 (nodejs:12) | nodejs +3 | 1:12.22.5-1.module_el8.4.0+2529+af52a4c7 |
| 8 (nodejs:12) | npm | 1:6.14.14-1.12.22.5.1.module_el8.4.0+2529+af52a4c7 |
| 8 (nodejs:12) | nodejs-nodemon | 2.0.3-1.module_el8.4.0+2521+c668cc9f |
| 8 (nodejs:14) | nodejs-nodemon | 2.0.3-1.module_el8.4.0+2521+c668cc9f |
1 more row
alpine 4 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | c-ares | 1.17.2-r0 |
| 3.22 | nodejs | 14.17.5-r0 |
| 3.22 | nodejs-current | 16.6.2-r0 |
| 3.23 | c-ares | 1.17.2-r0 |
| 3.23 | nodejs | 14.17.5-r0 |
| 3.23 | nodejs-current | 16.6.2-r0 |
6 more rows
debian 6 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | c-ares | 1.14.0-1+deb10u1 |
| 11 | c-ares | 1.17.1-1+deb11u1 |
| 12 | c-ares | 1.17.1-1.1 |
| 13 | c-ares | 1.17.1-1.1 |
| 14 | c-ares | 1.17.1-1.1 |
| 9 | c-ares | 1.12.0-1+deb9u2 |
echo 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| c-ares-1-13-0 | 1.13.0+e1 | |
| c-ares-1-16-0 | 1.16.0+e1 | |
| c-ares | 1.17.1-1.1 | |
| c-ares-1-7-4 | 1.7.4+e1 |
openSUSE 1 release · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | c-ares-devel +3 | 1.17.2-2.2 | openSUSE-SU-2024:10668-1 |
| Tumbleweed | nodejs14 +3 | 14.17.5-1.2 | openSUSE-SU-2024:11096-1 |
| Tumbleweed | nodejs16 +3 | 16.6.2-2.2 | openSUSE-SU-2024:11097-1 |
rocky 3 releases · 5 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | c-ares +1 | 1.13.0-6.el8 |
| 8 | nodejs +3 | 1:12.22.5-1.module+el8.4.0+647+e905fa21 |
| 8 | npm | 1:6.14.14-1.12.22.5.1.module+el8.4.0+647+e905fa21 |
| 8 (nodejs:12) | nodejs-packaging | 17-3.module+el8.3.0+101+f84c7154 |
| 8 (nodejs:12) | nodejs +3 | 1:12.22.5-1.module+el8.4.0+647+e905fa21 |
| 8 (nodejs:12) | npm | 1:6.14.14-1.12.22.5.1.module+el8.4.0+647+e905fa21 |
12 more rows
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-c-ares | 1.17.1-1.1 |
seal Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | c-ares +1 | 1.10.0-3.el7+sp999 |
ubuntu 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | c-ares | 1.14.0-1ubuntu0.1 |
| 18.04-ESM | c-ares | 1.14.0-1ubuntu0.1 |
| 20.04 | c-ares | 1.15.0-1ubuntu0.1 |
| 20.04-ESM | c-ares | 1.15.0-1ubuntu0.1 |
| 22.04 | c-ares | 1.17.1-1ubuntu1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2021-3672
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1988342
- c-ares.haxx.se https://c-ares.haxx.se/adv_20210810.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3672
- errata.almalinux.org https://errata.almalinux.org/8/ALSA-2022-2043.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2022:2043
- linux.oracle.com https://linux.oracle.com/cve/CVE-2021-3672.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2022-2043.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2021-3672
Show all 15 references
- security.gentoo.org https://security.gentoo.org/glsa/202401-02
- ubuntu.com https://ubuntu.com/security/notices/USN-5034-1
- ubuntu.com https://ubuntu.com/security/notices/USN-5034-2
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2021-3672
- www.oracle.com https://www.oracle.com/security-alerts/cpujul2022.html
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.