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.
Impact
Base Score 3.x
9.60
Severity 3.x
CRITICAL
Base Score 2.0
6.80
Severity 2.0
MEDIUM
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) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://github.com/wbx-github/uclibc-ng/commit/0f822af0445e5348ce7b7bd8ce1204244f31d174
- https://uclibc-ng.org/
- https://www.openwall.com/lists/oss-security/2021/11/09/1
- https://github.com/wbx-github/uclibc-ng/commit/0f822af0445e5348ce7b7bd8ce1204244f31d174
- https://uclibc-ng.org/
- https://www.openwall.com/lists/oss-security/2021/11/09/1



