Skip to main content
Public proof of conceptFix available

CVE-2021-43523

A public proof of concept exists; no exploitation attested.

  • Published2021-11-10
  • WeaknessCWE-79

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2021-11-1015:15CVE publishedNVD

Versions per branch

NVD
Uclibc
BranchAffectedFixed in
0.9≤ 0.9.33.2no fix published
Uclibc-ng project uclibc-ng
BranchAffectedFixed in
1.0< 1.0.391.0.39

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • uclibcDebian:14all versions · no fixed version listed
  • uclibcDebian:13all versions · no fixed version listed
  • uclibcDebian:12all versions · no fixed version listed
  • uclibc-ngAzure Linux:2all versions · fixed in 1.0.37-2

Vendor advisories

  • CVE-2021-43523 Red Hat Product Security

    uclibc: incorrect handling of special characters in DNS records

  • ICSA-23-234-01 CISA1 known affected

    Hitachi Energy AFF66x

    AFF660/665: <= 03.0.02

Full record on NVD

Fix

  1. Vendor fix CISA ICSA-23-234-01 · 1 productUpdate to upcoming AFF660/665 FW 04.6.01 release when available.
  2. Mitigation from the vendor CISA ICSA-23-234-01 · 1 productHitachi Energy recommends the following actions:
  3. Mitigation from the vendor CISA ICSA-23-234-01 · 1 productConfigure only trusted DNS server(s).
  4. Mitigation from the vendor CISA ICSA-23-234-01 · 1 productConfigure the NTP service with redundant trustworthy sources of time.
  5. Mitigation from the vendor CISA ICSA-23-234-01 · 1 productRestrict TCP/IP-based management protocols to trusted IP addresses.
  6. Mitigation from the vendor CISA ICSA-23-234-01 · 1 productDisable the SNMP server (CLI and web interface will continue to function as they use an internal connection).

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Published
2021-11-10
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-65xv-vmv6-8r3f

Frequently asked questions

What is 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.

Is CVE-2021-43523 actively exploited?

A proof-of-concept exploit exists for CVE-2021-43523, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2021-43523?

CVE-2021-43523 has a CVSS v3 base score of 9.6 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H.

Running uclibc? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record