CVEvulnerability
CVE-2021-43523
9.6 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2021-11-10
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.6 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 9.6 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-79
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.
Affected configurations
• uclibc uclibc (<= 0.9.33.2)
• uclibc-ng project uclibc-ng (< 1.0.39)
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/wbx-github/uclibc-ng/commit/0f822af0445e5348ce7b7bd8ce1204244f31d174 Patch, Third Party Advisory
- https://uclibc-ng.org/ Vendor Advisory
- https://www.openwall.com/lists/oss-security/2021/11/09/1 Exploit, Mailing List, Third Party Advisory
- https://github.com/wbx-github/uclibc-ng/commit/0f822af0445e5348ce7b7bd8ce1204244f31d174 Patch, Third Party Advisory
- https://uclibc-ng.org/ Vendor Advisory
- https://www.openwall.com/lists/oss-security/2021/11/09/1 Exploit, Mailing List, Third Party Advisory