← Vulnerability feed

Vulnerability record · CVE-2021-43523 · published 10 November 2021

CVE-2021-43523: Uclibc cross-site scripting vulnerability

Uclibc · Uclibc

In uClibc and uClibc-ng before 1.0.39, incorrect handling of special characters in domain names returned by DNS servers via gethostbyname, getaddrinfo, gethostbyaddr, and getnameinfo can lead to output of wrong hostnames (leading to domain hijacking) or injection into applications (leading to remote code execution, XSS, applications crashes, etc.). In other words, a validation step, which is expected in any stub resolver, does not occur.

9.6 CVSS 3.1 Critical EPSS 3.1% · top 12.9% CWE-79 · Cross-site scripting
9.6CVSS 3.1 base score, v2 6.8
3.1%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
6References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

In uClibc and uClibc-ng before 1.0.39, incorrect handling of special characters in domain names returned by DNS servers via gethostbyname, getaddrinfo, gethostbyaddr, and getnameinfo can lead to output of wrong hostnames (leading to domain hijacking) or injection into applications (leading to remote code execution, XSS, applications crashes, etc.). In other words, a validation step, which is expected in any stub resolver, does not occur.

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-43523 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2022-29503Uclibc memory buffer overflow vulnerabilityA memory corruption vulnerability exists in the libpthread linuxthreads functionality of uClibC 0.9.33.2 and uClibC-ng 1.0.40. Thread allocation can …EPSS 1.3%9.8CVE-2021-27419Uclibc-ng project uclibc-ng integer overflow vulnerabilityuClibc-ng versions prior to 1.0.37 are vulnerable to integer wrap-around in functions malloc-simple. This improper memory assignment can lead to arbi…EPSS 1.7%9.8CVE-2017-9728Uclibc out-of-bounds read vulnerabilityIn uClibc 0.9.33.2, there is an out-of-bounds read in the get_subexp function in misc/regex/regexec.c when processing a crafted regular expression.EPSS 1.2%7.5CVE-2017-9729Uclibc vulnerabilityIn uClibc 0.9.33.2, there is stack exhaustion (uncontrolled recursion) in the check_dst_limits_calc_pos_1 function in misc/regex/regexec.c when proce…EPSS 1.1%7.5CVE-2016-2224Uclibc-ng project uclibc-ng uncontrolled resource consumption vulnerabilityThe __decode_dotted function in libc/inet/resolv.c in uClibc-ng before 1.0.12 allows remote DNS servers to cause a denial of service (infinite loop) …EPSS 2.8%7.5CVE-2016-2225Uclibc-ng project uclibc-ng uncontrolled resource consumption vulnerabilityThe __read_etc_hosts_r function in libc/inet/resolv.c in uClibc-ng before 1.0.12 allows remote DNS servers to cause a denial of service (infinite loo…EPSS 2.5%7.5CVE-2016-6264Uclibc vulnerabilityInteger signedness error in libc/string/arm/memset.S in uClibc and uClibc-ng before 1.0.16 allows context-dependent attackers to cause a denial of se…EPSS 2.7%6.5CVE-2022-30295Uclibc vulnerabilityuClibc-ng through 1.0.40 and uClibc through 0.9.33.2 use predictable DNS transaction IDs that may lead to DNS cache poisoning. This is related to a r…EPSS 12%

Source: NIST National Vulnerability Database (record CVE-2021-43523), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.