Vulnerability · Published Nov 23, 2021 · Assigned by redhat

CVE-2021-3672

Medium 5.6

In plain English

A medium-severity cross-site scripting in c-ares. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.8% (higher than 87% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.6Medium
Exploit odds (30 days)2.8%top 13.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8c-ares1.13.0-6.el8ALSA-2022:2043
AlmaLinux:8c-ares-devel1.13.0-6.el8ALSA-2022:2043
AlmaLinux:8nodejs1:12.22.5-1.module_el8.4.0+2529+af52a4c7ALSA-2021:3623
AlmaLinux:8nodejs1:12.22.5-1.module_el8.5.0+85+79a7b441ALSA-2021:3623
AlmaLinux:8nodejs-devel1:12.22.5-1.module_el8.4.0+2529+af52a4c7ALSA-2021:3623
AlmaLinux:8nodejs-devel1:12.22.5-1.module_el8.5.0+85+79a7b441ALSA-2021:3623
AlmaLinux:8nodejs-docs1:12.22.5-1.module_el8.4.0+2529+af52a4c7ALSA-2021:3623
AlmaLinux:8nodejs-full-i18n1:12.22.5-1.module_el8.4.0+2529+af52a4c7ALSA-2021:3623
AlmaLinux:8nodejs-full-i18n1:12.22.5-1.module_el8.5.0+85+79a7b441ALSA-2021:3623
AlmaLinux:8nodejs-nodemon2.0.3-1.module_el8.4.0+2521+c668cc9fALSA-2021:3623
AlmaLinux:8nodejs-nodemon2.0.3-1.module_el8.4.0+2521+c668cc9fALSA-2021:3666
AlmaLinux:8nodejs-packaging23-3.module_el8.5.0+254+b4526b16ALSA-2021:3666
AlmaLinux:8nodejs-packaging17-3.module_el8.4.0+2521+c668cc9fALSA-2021:3623
AlmaLinux:8nodejs-packaging17-3.module_el8.3.0+2023+d2377ea3ALSA-2021:3623
AlmaLinux:8nodejs-packaging17-3.module_el8.4.0+2224+b07ac28eALSA-2021:3623
AlmaLinux:8nodejs-packaging23-3.module_el8.4.0+2522+3bd42762ALSA-2021:3666
AlmaLinux:8npm1:6.14.14-1.12.22.5.1.module_el8.5.0+85+79a7b441ALSA-2021:3623
AlmaLinux:8npm1:6.14.14-1.12.22.5.1.module_el8.4.0+2529+af52a4c7ALSA-2021:3623
Alpine:v3.20c-ares1.17.2-r0ALPINE-CVE-2021-3672
Alpine:v3.21c-ares1.17.2-r0ALPINE-CVE-2021-3672
Alpine:v3.22c-ares1.17.2-r0ALPINE-CVE-2021-3672
Alpine:v3.23c-ares1.17.2-r0ALPINE-CVE-2021-3672
Alpine:v3.24c-ares1.17.2-r0ALPINE-CVE-2021-3672
Alpine:v3.20nodejs14.17.5-r0ALPINE-CVE-2021-3672
Alpine:v3.21nodejs14.17.5-r0ALPINE-CVE-2021-3672
Alpine:v3.22nodejs14.17.5-r0ALPINE-CVE-2021-3672
Alpine:v3.23nodejs14.17.5-r0ALPINE-CVE-2021-3672
Alpine:v3.24nodejs14.17.5-r0ALPINE-CVE-2021-3672
Alpine:v3.20nodejs-current16.6.2-r0ALPINE-CVE-2021-3672
Alpine:v3.21nodejs-current16.6.2-r0ALPINE-CVE-2021-3672
Alpine:v3.22nodejs-current16.6.2-r0ALPINE-CVE-2021-3672
Alpine:v3.23nodejs-current16.6.2-r0ALPINE-CVE-2021-3672
Alpine:v3.24nodejs-current16.6.2-r0ALPINE-CVE-2021-3672
Debian:12c-ares1.17.1-1.1DEBIAN-CVE-2021-3672
Debian:13c-ares1.17.1-1.1DEBIAN-CVE-2021-3672
Debian:14c-ares1.17.1-1.1DEBIAN-CVE-2021-3672
Rocky Linux:8c-ares0:1.13.0-6.el8RLSA-2022:2043
Rocky Linux:8nodejs1:14.17.5-1.module+el8.4.0+654+17ff1d38RLSA-2021:3666
Rocky Linux:8nodejs1:12.22.5-1.module+el8.4.0+647+e905fa21RLSA-2021:3623
Rocky Linux:8nodejs-nodemon0:2.0.3-1.module+el8.4.0+638+5344c6f7RLSA-2021:3623
Rocky Linux:8nodejs-nodemon0:2.0.3-1.module+el8.4.0+638+5344c6f7RLSA-2021:3666
Rocky Linux:8nodejs-nodemon0:2.0.3-1.module+el8.3.0+100+234774f7RLSA-2021:3666
Rocky Linux:8nodejs-nodemon0:2.0.3-1.module+el8.6.0+982+9fdca2d4RLSA-2021:3666
Rocky Linux:8nodejs-nodemon0:2.0.3-1.module+el8.3.0+100+234774f7RLSA-2021:3623
Rocky Linux:8nodejs-nodemon0:2.0.3-1.module+el8.6.0+982+9fdca2d4RLSA-2021:3623
Rocky Linux:8nodejs-packaging0:17-3.module+el8.3.0+101+f84c7154RLSA-2021:3623
Rocky Linux:8nodejs-packaging0:23-3.module+el8.7.0+1071+4bdda2a8RLSA-2021:3666
Rocky Linux:8nodejs-packaging0:23-3.module+el8.3.0+100+234774f7RLSA-2021:3666
Rocky Linux:8nodejs-packaging0:23-3.module+el8.5.0+733+de4fee6cRLSA-2021:3666
Ubuntu:22.04:LTSc-ares1.17.1-1ubuntu1UBUNTU-CVE-2021-3672

Affected products (as reported)

VendorProductVersions
n/a c-ares c-ares 1.17.2

Weakness: CWE-79

References