Описание
The deprecated functions ns_printrrf, ns_printrr and fp_nquery in the GNU C Library version 2.0.1 to version 2.43 fail to validate the RDATA content against the RDATA length in a DNS response when processing A6, CERT, LOC, TKEY or TSIG records, which may allow an attacker to craft a DNS response, causing a target application to crash or read uninitialized memory.
These functions are for application debugging only and hence not in the path of code executed by the DNS resolver. Further, they have been deprecated since version 2.34 and should not be used by any new applications. Applications should consider porting away from these interfaces since they may be removed in future versions.
A flaw was found in glibc (GNU C Library). The deprecated functions ns_printrrf, ns_printrr, and fp_nquery do not properly validate the length of RDATA (Resource Record Data) in a DNS (Domain Name System) response when processing specific record types like LOC, CERT, TKEY, or TSIG. A remote attacker could craft a malicious DNS response, leading to a target application crashing or reading uninitialized memory. These functions are intended for application debugging and are not part of the standard DNS resolver path.
Отчет
Red Hat has rated this glibc flaw as having MODERATE impact (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H, score 6.5). The deprecated functions ns_printrrf(), ns_printrr(), and fp_nquery() in the GNU C Library fail to validate the RDATA content against the RDATA length of a DNS response when processing LOC, CERT, TKEY, or TSIG records. A remote attacker who can supply a crafted DNS response to an application that uses these functions could cause that application to crash or read uninitialized memory. Exposure is limited because these functions are intended for application debugging only, are not part of the code path executed by the DNS resolver, and have been deprecated since glibc 2.34. Within the Red Hat portfolio, the glibc packages shipped in Red Hat Enterprise Linux 8.10, 9.8, and 10.2, and in the Red Hat Hardened Images (hummingbird-1) product were affected, and fixes for these delegated components have been delivered through their respective product updates. Other Red Hat Enterprise Linux streams, the OpenShift Container Platform RHCOS images, and Fedora were assessed as not affected because the vulnerable code is not present in the glibc packages shipped in those products.
Меры по смягчению последствий
The affected functions are deprecated, application-debugging-only interfaces that are not part of the DNS resolver code path. Applications that call ns_printrrf(), ns_printrr(), or fp_nquery() can mitigate this issue by porting away from these interfaces, as recommended upstream, since they are not required for DNS resolution. For applications that cannot be changed, update to the glibc packages containing the fix that were released for the affected Red Hat products.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Enterprise Linux 6 | compat-glibc | Not affected | ||
| Red Hat Enterprise Linux 6 | glibc | Not affected | ||
| Red Hat Enterprise Linux 7 | compat-glibc | Not affected | ||
| Red Hat Enterprise Linux 7 | glibc | Not affected | ||
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-llama-stack-k8s-operator-rhel9 | Not affected | ||
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-8 | Not affected | ||
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-9 | Not affected | ||
| Red Hat Enterprise Linux 10 | glibc | Fixed | RHSA-2026:42694 | 21.07.2026 |
| Red Hat Enterprise Linux 8 | glibc | Fixed | RHSA-2026:42733 | 21.07.2026 |
| Red Hat Enterprise Linux 8 | glibc | Fixed | RHSA-2026:42733 | 21.07.2026 |
Показывать по
Дополнительная информация
Статус:
EPSS
6.5 Medium
CVSS3
Связанные уязвимости
The deprecated functions ns_printrrf, ns_printrr and fp_nquery in the GNU C Library version 2.0.1 to version 2.43 fail to validate the RDATA content against the RDATA length in a DNS response when processing A6, CERT, LOC, TKEY or TSIG records, which may allow an attacker to craft a DNS response, causing a target application to crash or read uninitialized memory. These functions are for application debugging only and hence not in the path of code executed by the DNS resolver. Further, they have been deprecated since version 2.34 and should not be used by any new applications. Applications should consider porting away from these interfaces since they may be removed in future versions.
The deprecated functions ns_printrrf, ns_printrr and fp_nquery in the GNU C Library version 2.0.1 to version 2.43 fail to validate the RDATA content against the RDATA length in a DNS response when processing A6, CERT, LOC, TKEY or TSIG records, which may allow an attacker to craft a DNS response, causing a target application to crash or read uninitialized memory. These functions are for application debugging only and hence not in the path of code executed by the DNS resolver. Further, they have been deprecated since version 2.34 and should not be used by any new applications. Applications should consider porting away from these interfaces since they may be removed in future versions.
The deprecated functions ns_printrrf, ns_printrr and fp_nquery in the ...
EPSS
6.5 Medium
CVSS3