CVE-2021-43523 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 outpu...
CriticalCVSS 9.6
EPSS 3.1%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- Debian
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.
Upgrade path
5 packages: 2 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/uclibc(Debian 12) | = 1.0.35-1; = 1.0.54-1; All versions | No fix listed | No fix yet |
| debian/uclibc(Debian 13) | = 1.0.35-1; = 1.0.54-1; All versions | No fix listed | No fix yet |
| debian/uclibc(Debian 14) | = 1.0.35-1; = 1.0.54-1; All versions | No fix listed | No fix yet |
| uclibc | <= 0.9.33.2 | after 0.9.33.2 | Fixed |
| uclibc-ng project uclibc-ng | < 1.0.39 | 1.0.39 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/uclibc(Debian:12) | All versions | No fix listed |
| debian/uclibc(Debian:12) | = 1.0.35-1 | No fix listed |
| debian/uclibc(Debian:12) | = 1.0.54-1 | No fix listed |
| debian/uclibc(Debian:13) | All versions | No fix listed |
| debian/uclibc(Debian:13) | = 1.0.35-1 | No fix listed |
| debian/uclibc(Debian:13) | = 1.0.54-1 | No fix listed |
| debian/uclibc(Debian:14) | All versions | No fix listed |
| debian/uclibc(Debian:14) | = 1.0.35-1 | No fix listed |
| debian/uclibc(Debian:14) | = 1.0.54-1 | No fix listed |
| uclibc | <= 0.9.33.2 | No fix listed |
| uclibc-ng project uclibc-ng | < 1.0.39 | 1.0.39 |
References
- Debian Security Tracker CVE-2021-43523 vendor-advisory
- github.com patch third-party-advisory
- uclibc-ng.org vendor-advisory
- www.openwall.com exploit mailing-list third-party-advisory