Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-58042

Опубликовано: 04 авг. 2026
Источник: redhat
CVSS3: 5.9

Описание

A flaw in Node.js can cause dns.resolveAny() Aborts the Node.js Process When a DNS Response Contains More Than 256 A Records. Repeated triggering of this condition can lead to denial of service. This vulnerability affects Node.js 26.x, 24.x, and 22.x.

A denial of service (DoS) vulnerability in Node.js allows a remote attacker to crash the application. By sending a specially crafted DNS response with an excessive number of 'A' records, an attacker can cause the dns.resolveAny() function to unexpectedly abort the process.

Отчет

This Moderate DoS flaw affects Node.js applications using dns.resolveAny(). An attacker can crash the process by providing a DNS response with more than 256 'A' records. Requiring the ability to manipulate DNS responses increases the attack complexity.

Меры по смягчению последствий

If unused, avoid dns.resolveAny() (prefer narrower resolvers such as resolve4 / lookup). Use trusted DNS resolvers and block untrusted DNS paths. Note that replacing dns.resolveAny() with narrower resolvers may break application features that depend on retrieving non-IP records, such as MX or TXT.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Hardened Imagesnodejs20Not affected
Red Hat Hardened Imagesnodejs25Not affected
Red Hat Enterprise Linux 10nodejs22FixedRHSA-2026:6137631.08.2026
Red Hat Enterprise Linux 10nodejs24FixedRHSA-2026:6137731.08.2026
Red Hat Enterprise Linux 10nodejs26FixedRHSA-2026:9861911.11.2026
Red Hat Enterprise Linux 10.0 Extended Update Supportnodejs22FixedRHSA-2026:6481708.09.2026
Red Hat Enterprise Linux 8nodejsFixedRHSA-2026:6221901.09.2026
Red Hat Enterprise Linux 8nodejsFixedRHSA-2026:6258302.09.2026
Red Hat Enterprise Linux 9nodejsFixedRHSA-2026:6138331.08.2026
Red Hat Enterprise Linux 9nodejsFixedRHSA-2026:6138631.08.2026

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-400
https://bugzilla.redhat.com/show_bug.cgi?id=2510854nodejs: Node.js: Denial of Service via DNS responses with excessive A records

5.9 Medium

CVSS3

Связанные уязвимости

CVSS3: 5.9
ubuntu
4 месяца назад

A flaw in Node.js can cause dns.resolveAny() Aborts the Node.js Process When a DNS Response Contains More Than 256 A Records. Repeated triggering of this condition can lead to denial of service. This vulnerability affects Node.js **26.x**, **24.x**, and **22.x**.

CVSS3: 5.9
nvd
4 месяца назад

A flaw in Node.js can cause dns.resolveAny() Aborts the Node.js Process When a DNS Response Contains More Than 256 A Records. Repeated triggering of this condition can lead to denial of service. This vulnerability affects Node.js **26.x**, **24.x**, and **22.x**.

CVSS3: 5.9
debian
4 месяца назад

A flaw in Node.js can cause dns.resolveAny() Aborts the Node.js Proces ...

CVSS3: 5.9
github
4 месяца назад

A flaw in Node.js can cause dns.resolveAny() Aborts the Node.js Process When a DNS Response Contains More Than 256 A Records. Repeated triggering of this condition can lead to denial of service. This vulnerability affects Node.js **26.x**, **24.x**, and **22.x**.

suse-cvrf
3 месяца назад

Security update for nodejs22

5.9 Medium

CVSS3