Vulnerability Details : CVE-2021-43523
Potential exploit
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.
Vulnerability category: Cross site scripting (XSS)Execute code
Products affected by CVE-2021-43523
- cpe:2.3:a:uclibc-ng_project:uclibc-ng:*:*:*:*:*:*:*:*
- cpe:2.3:a:uclibc:uclibc:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-43523
2.46%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 84 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-43523
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:P |
8.6
|
6.4
|
NIST | |
9.6
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
2.8
|
6.0
|
134c704f-9b21-4f2e-91b3-4a467353bcc0 | 2025-05-05 |
9.6
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
2.8
|
6.0
|
NIST |
CWE ids for CVE-2021-43523
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by:
- 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)
- nvd@nist.gov (Primary)
References for CVE-2021-43523
-
https://www.openwall.com/lists/oss-security/2021/11/09/1
oss-security - [CVE-2021-43523] Incorrect handling of special characters in domain names in uclibc and uclibc-ngExploit;Mailing List;Third Party Advisory
-
https://github.com/wbx-github/uclibc-ng/commit/0f822af0445e5348ce7b7bd8ce1204244f31d174
libc/inet/resolv.c: add __hnbad to check DNS entries for validity… · wbx-github/uclibc-ng@0f822af · GitHubPatch;Third Party Advisory
-
https://uclibc-ng.org/
Welcome to uClibc-ng! - Embedded C libraryVendor Advisory
Jump to