cve.bz

CVE-2021-3672 Cross-site Scripting

5.6 mediumExploit referenceEPSS 2.8%Fix available

Medium (5.6). EPSS 2.8% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.6 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS
2.8% (unchanged from 2.8% a week ago; 2.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 87th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-10-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-3672 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3672?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3672?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3672 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
c-ares_project:c-aresfrom 1.0.0 before 1.17.2
fedoraproject:fedora33
fedoraproject:fedora34
redhat:enterprise_linux7.0
redhat:enterprise_linux7.7
redhat:enterprise_linux8.0
redhat:enterprise_linux_computer_node1
redhat:enterprise_linux_eus7.7
redhat:enterprise_linux_eus8.1
redhat:enterprise_linux_eus8.2
redhat:enterprise_linux_eus8.4
redhat:enterprise_linux_for_ibm_z_systems8.0
redhat:enterprise_linux_for_ibm_z_systems_eus8.1
redhat:enterprise_linux_for_ibm_z_systems_eus8.2
redhat:enterprise_linux_for_ibm_z_systems_eus8.4
redhat:enterprise_linux_for_power_little_endian8.0
redhat:enterprise_linux_for_power_little_endian_eus8.1
redhat:enterprise_linux_for_power_little_endian_eus8.2
redhat:enterprise_linux_for_power_little_endian_eus8.4
redhat:enterprise_linux_server_aus8.2
redhat:enterprise_linux_server_aus8.4
redhat:enterprise_linux_server_tus8.2
redhat:enterprise_linux_server_tus8.4
redhat:enterprise_linux_server_update_services_for_sap_solutions8.1
redhat:enterprise_linux_server_update_services_for_sap_solutions8.2
redhat:enterprise_linux_server_update_services_for_sap_solutions8.4
redhat:enterprise_linux_tus8.4
redhat:enterprise_linux_workstation1
siemens:sinec_infrastructure_network_servicesbefore 1.0.1.1
nodejs:node.jsfrom 12.0.0 through 12.12.0
nodejs:node.jsfrom 12.13.0 before 12.22.5
nodejs:node.jsfrom 14.0.0 through 14.14.0
nodejs:node.jsfrom 14.15.0 before 14.17.5
nodejs:node.jsfrom 16.0.0 before 16.6.2
pgbouncer:pgbouncerthrough 1.17.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9c-ares1.12.0-1+deb9u2DLA-2738-1
Debian10c-ares1.14.0-1+deb10u1DSA-4954-1
Debian12, 13, 14c-ares1.17.1-1.1DEBIAN-CVE-2021-3672
Ubuntu18.04:LTSc-ares1.14.0-1ubuntu0.1UBUNTU-CVE-2021-3672 USN-5034-1
Ubuntu20.04:LTSc-ares1.15.0-1ubuntu0.1UBUNTU-CVE-2021-3672 USN-5034-1
Ubuntu22.04:LTSc-ares1.17.1-1ubuntu1UBUNTU-CVE-2021-3672
UbuntuPro:16.04:LTSc-ares1.10.0-3ubuntu0.2+esm1UBUNTU-CVE-2021-3672 USN-5034-2
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:12.22.5-1.module+el8.4.0+12242+af52a4c7RHSA-2021:3623
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:14.17.5-1.module+el8.4.0+12247+e2879e58RHSA-2021:3666
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:2.0.3-1.module+el8.3.0+6519+9f98ed83RHSA-2021:3666
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:2.0.3-1.module+el8.4.0+11732+c668cc9fRHSA-2021:3623
Red Hatenterprise_linux:8::appstreamnodejs-packaging0:17-3.module+el8.1.0+3369+37ae6a45RHSA-2021:3623
Red Hatenterprise_linux:8::appstreamnodejs-packaging0:23-3.module+el8.3.0+6519+9f98ed83RHSA-2021:3666
Red Hatenterprise_linux:8::appstreamnpm1:6.14.14-1.12.22.5.1.module+el8.4.0+12242+af52a4c7RHSA-2021:3623
Red Hatenterprise_linux:8::appstreamnpm1:6.14.14-1.14.17.5.1.module+el8.4.0+12247+e2879e58RHSA-2021:3666
Red Hatenterprise_linux:8::baseosc-ares, c-ares-devel, c-ares-debuginfo and 1 more0:1.13.0-6.el8RHSA-2022:2043
Red Hatrhel_eus:8.1::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:12.22.5-1.module+el8.1.0+12238+63fe3aecRHSA-2021:3639
Red Hatrhel_eus:8.1::appstreamnodejs-nodemon0:1.18.3-1.module+el8.1.0+3369+37ae6a45RHSA-2021:3639
Red Hatrhel_eus:8.1::appstreamnodejs-packaging0:17-3.module+el8.1.0+3369+37ae6a45RHSA-2021:3639
11 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 12 morec-ares1.17.1+20200724-3.14.1SUSE-SU-2021:2760-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 12 morelibcares21.9.1-9.7.1SUSE-SU-2021:2690-1
SUSELinux Enterprise Module for Web and Scripting 12nodejs1010.24.1-1.42.2SUSE-SU-2021:2823-1
SUSELinux Enterprise Module for Web and Scripting 12nodejs1212.22.5-1.35.1SUSE-SU-2021:2824-1
SUSELinux Enterprise Module for Web and Scripting 12nodejs1414.17.5-6.15.3SUSE-SU-2021:3184-1
SUSELinux Enterprise Module for Web and Scripting 15 SP2nodejs1010.24.1-1.39.2SUSE-SU-2021:2953-1
SUSELinux Enterprise Module for Web and Scripting 15 SP2, Linux Enterprise Module for Web and Scripting 15 SP3nodejs1212.22.5-4.19.1SUSE-SU-2021:2875-1
SUSELinux Enterprise Module for Web and Scripting 15 SP2, Linux Enterprise Module for Web and Scripting 15 SP3nodejs1414.17.5-5.15.5SUSE-SU-2021:3211-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP4-LTSSlibcares21.7.4-7.10.3.1SUSE-SU-2021:14776-1
openSUSELeap 15.2c-ares, c-ares-tests1.17.1+20200724-lp152.2.9.1openSUSE-SU-2021:1168-1
openSUSELeap 15.2nodejs1010.24.1-lp152.2.18.1openSUSE-SU-2021:1239-1
openSUSELeap 15.2nodejs1212.22.5-lp152.3.18.1openSUSE-SU-2021:1214-1
openSUSELeap 15.2nodejs1414.17.5-lp152.14.1openSUSE-SU-2021:1313-1
openSUSELeap 15.3c-ares1.17.1+20200724-3.14.1openSUSE-SU-2021:2760-1
openSUSELeap 15.3nodejs1010.24.1-1.39.2openSUSE-SU-2021:2953-1
openSUSELeap 15.3nodejs1212.22.5-4.19.1openSUSE-SU-2021:2875-1
openSUSELeap 15.3nodejs1414.17.5-5.15.5openSUSE-SU-2021:3211-1
openSUSETumbleweedc-ares1.17.2-2.2openSUSE-SU-2024:10668-1
openSUSETumbleweednodejs1414.17.5-1.2openSUSE-SU-2024:11096-1
openSUSETumbleweednodejs1616.6.2-2.2openSUSE-SU-2024:11097-1
AlmaLinux8c-ares, c-ares-devel1.13.0-6.el8ALSA-2022:2043
AlmaLinux8nodejs, nodejs-devel, nodejs-full-i18n1:12.22.5-1.module_el8.5.0+85+79a7b441ALSA-2021:3623
AlmaLinux8nodejs, nodejs-docs, nodejs-devel and 1 more1:12.22.5-1.module_el8.4.0+2529+af52a4c7ALSA-2021:3623
AlmaLinux8nodejs-nodemon2.0.3-1.module_el8.4.0+2521+c668cc9fALSA-2021:3623 ALSA-2021:3666
AlmaLinux8nodejs-packaging17-3.module_el8.3.0+2023+d2377ea3ALSA-2021:3623
AlmaLinux8nodejs-packaging17-3.module_el8.4.0+2224+b07ac28eALSA-2021:3623
AlmaLinux8nodejs-packaging17-3.module_el8.4.0+2521+c668cc9fALSA-2021:3623
AlmaLinux8nodejs-packaging23-3.module_el8.4.0+2522+3bd42762ALSA-2021:3666
AlmaLinux8nodejs-packaging23-3.module_el8.5.0+254+b4526b16ALSA-2021:3666
AlmaLinux8npm1:6.14.14-1.12.22.5.1.module_el8.4.0+2529+af52a4c7ALSA-2021:3623
AlmaLinux8npm1:6.14.14-1.12.22.5.1.module_el8.5.0+85+79a7b441ALSA-2021:3623
Rocky Linux8c-ares0:1.13.0-6.el8RLSA-2022:2043
Rocky Linux8nodejs1:12.22.5-1.module+el8.4.0+647+e905fa21RLSA-2021:3623
Rocky Linux8nodejs1:14.17.5-1.module+el8.4.0+654+17ff1d38RLSA-2021:3666
Rocky Linux8nodejs-nodemon0:2.0.3-1.module+el8.3.0+100+234774f7RLSA-2021:3623 RLSA-2021:3666
Rocky Linux8nodejs-nodemon0:2.0.3-1.module+el8.4.0+638+5344c6f7RLSA-2021:3623 RLSA-2021:3666
Rocky Linux8nodejs-nodemon0:2.0.3-1.module+el8.6.0+982+9fdca2d4RLSA-2021:3623 RLSA-2021:3666
Rocky Linux8nodejs-packaging0:17-3.module+el8.3.0+101+f84c7154RLSA-2021:3623
Rocky Linux8nodejs-packaging0:23-3.module+el8.3.0+100+234774f7RLSA-2021:3666
Rocky Linux8nodejs-packaging0:23-3.module+el8.5.0+733+de4fee6cRLSA-2021:3666
Rocky Linux8nodejs-packaging0:23-3.module+el8.7.0+1071+4bdda2a8RLSA-2021:3666
Alpinev3.11, v3.12nodejs12.22.5-r0ALPINE-CVE-2021-3672
Alpinev3.11, v3.12, v3.13 and 11 morec-ares1.17.2-r0ALPINE-CVE-2021-3672
Alpinev3.13, v3.14, v3.15 and 9 morenodejs14.17.5-r0ALPINE-CVE-2021-3672
Alpinev3.14nodejs-current16.11.1-r0ALPINE-CVE-2021-3672
Alpinev3.15, v3.16, v3.17 and 7 morenodejs-current16.6.2-r0ALPINE-CVE-2021-3672
Azure Linux3ceph18.2.2-1AZL-38359

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8nodejs:12-8040020210817133458.522a0ee4Fixed 2021-09-21RHSA-2021:3623
Red Hat Enterprise Linux 8nodejs:14-8040020210817165654.522a0ee4Fixed 2021-09-27RHSA-2021:3666
Red Hat Enterprise Linux 8c-ares-0:1.13.0-6.el8Fixed 2022-05-10RHSA-2022:2043
Red Hat Enterprise Linux 8.1 Extended Update Supportnodejs:12-8010020210817113128.c27ad7f8Fixed 2021-09-22RHSA-2021:3639
Red Hat Enterprise Linux 8.2 Extended Update Supportnodejs:12-8020020210817125332.4cda2c84Fixed 2021-09-22RHSA-2021:3638
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs14-nodejs-0:14.17.5-1.el7Fixed 2021-08-26RHSA-2021:3280
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs12-nodejs-0:12.22.5-1.el7Fixed 2021-08-26RHSA-2021:3281
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs12-nodejs-nodemon-0:2.0.3-5.el7Fixed 2021-08-26RHSA-2021:3281
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSrh-nodejs14-nodejs-0:14.17.5-1.el7Fixed 2021-08-26RHSA-2021:3280
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSrh-nodejs12-nodejs-0:12.22.5-1.el7Fixed 2021-08-26RHSA-2021:3281
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSrh-nodejs12-nodejs-nodemon-0:2.0.3-5.el7Fixed 2021-08-26RHSA-2021:3281
Red Hat Enterprise Linux 6c-aresOut of support scope
Red Hat Enterprise Linux 7c-aresOut of support scope
Red Hat Enterprise Linux 8nodejs:16/nodejsNot affected
Red Hat Enterprise Linux 9c-aresNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3672.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-22-069-09Siemens SINEC INS2022-03-08MultipleSINEC INSnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON