Skip to content
OpenAdvisories
Critical · 9.6 CVE-2021-43523 EUVD-2021-30452GHSA-65xv-vmv6-8r3f

In uClibc and uClibc-ng before 1.0.39, incorrect handling of special characters in domain names returned by DNS servers via gethostbyname, …

Published Nov 10, 2021 · Updated May 5, 2025 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 uclibc No fix yet —
Debian 13 uclibc No fix yet —
Debian 12 uclibc No fix yet —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) uclibc-ng 1.0.37-2 —

Advisories 1

References