CVE-2021-43523

Severity CVSS v4.0:
Pending analysis
Type:
CWE-79 Cross-Site Scripting (XSS)
Publication date:
10/11/2021
Last modified:
05/05/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:uclibc:uclibc:*:*:*:*:*:*:*:* 0.9.33.2 (including)
cpe:2.3:a:uclibc-ng_project:uclibc-ng:*:*:*:*:*:*:*:* 1.0.39 (excluding)