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 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.
Cross-site Scripting
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
9.6 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 86%
Affected Products (NVD)
VendorProductVersion
uclibcuclibc
𝑥
≤ 0.9.33.2
uclibc-ng_projectuclibc-ng
𝑥
< 1.0.39
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
uclibc
bookworm
unimportant
bullseye
unimportant
sid
unimportant
trixie
unimportant
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
uclibc
trusty
ignored
xenial
ignored
uclibc-ng
trusty
ignored
xenial
ignored
Azure Linux logo
Azure Linux Releases
Azure Package
Release
uclibc-ng
CBL-Mariner 1.0
0:1.0.37-2.cm1
fixed
CBL-Mariner 2.0
0:1.0.37-2.cm2
fixed