CVE-2021-43523
Last modified
CVE-2021-43523 is a critical-severity vulnerability rated 9.6/10 on the CVSS scale. 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.. EPSS estimates a 3.26% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Uclibc | Uclibc | <= 0.9.33.2 |
| Uclibc-Ng Project | Uclibc-Ng | < 1.0.39 |
References
- https://github.com/wbx-github/uclibc-ng/commit/0f822af0445e5348ce7b7bd8ce1204244f31d174Patch, Third Party Advisory
- https://uclibc-ng.org/Vendor Advisory
- https://www.openwall.com/lists/oss-security/2021/11/09/1Exploit, Mailing List, Third Party Advisory
- https://github.com/wbx-github/uclibc-ng/commit/0f822af0445e5348ce7b7bd8ce1204244f31d174Patch, Third Party Advisory
- https://uclibc-ng.org/Vendor Advisory
- https://www.openwall.com/lists/oss-security/2021/11/09/1Exploit, Mailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-43523?
How severe is CVE-2021-43523?
How do I fix CVE-2021-43523?
Are you affected by CVE-2021-43523?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
