CVE-2026-58042
Node.js Schwachstellenanalyse und -minderung

Überblick

CVE-2026-58042 is a denial-of-service vulnerability in Node.js's dns module where dns.resolveAny() can abort the process when a DNS response contains more than 256 A records. Disclosed on July 29, 2026 as part of Node.js's July 2026 security release, it affects all active release lines: 22.x, 24.x, and 26.x. The CVE is currently in "Reserved" status with a CVSS category estimate of Medium severity. The vulnerability was reported by cantina-security and fixed by RafaelGSS (Node.js Advisory).

Technische Details

The root cause lies in improper handling of large DNS responses within Node.js's dns module — specifically, the resolveAny() function fails to correctly process DNS replies containing more than 256 A records, triggering a process abort. This is consistent with CWE-617 (Reachable Assertion) or an unhandled edge case in buffer/array bounds handling during DNS response parsing. An attacker capable of influencing DNS responses seen by a Node.js application (e.g., via a malicious or compromised DNS server, DNS spoofing, or control over a DNS zone) could craft a response with an excessive number of A records to trigger the abort. No preconditions such as authentication are required beyond the ability to influence DNS resolution results for the target application (Node.js Advisory).

Aufprall

Successful exploitation causes the Node.js process to abort (crash), resulting in a denial of service for any application relying on dns.resolveAny(). Repeated triggering of this condition can sustain a denial-of-service condition, making affected services unavailable. There is no known confidentiality or integrity impact — the vulnerability is limited to availability (Node.js Advisory).

Ausnutzungsschritte

  1. Reconnaissance: Identify a target Node.js application (running on 22.x, 24.x, or 26.x) that calls dns.resolveAny() for attacker-influenced hostnames or that resolves hostnames via a DNS path the attacker can intercept.
  2. Position for DNS manipulation: Gain the ability to serve or spoof DNS responses to the target — this could be via control of an authoritative DNS zone for a queried domain, a DNS-in-the-middle position on the network, or DNS cache poisoning.
  3. Craft malicious DNS response: Construct a DNS response for the queried hostname that includes more than 256 A records in the answer section.
  4. Deliver the response: Serve the crafted DNS response to the Node.js process when it issues a resolveAny() query.
  5. Trigger process abort: The Node.js dns module fails to handle the oversized response, causing the process to abort and resulting in denial of service. Repeat as needed to sustain the outage (Node.js Advisory).

Indikatoren für Kompromittierung

  • Logs: Unexpected Node.js process crash logs or core dumps with no application-level error handling; operating system logs (e.g., journald, syslog) showing abrupt process termination of the Node.js service.
  • Network: Unusual DNS responses to the Node.js host containing abnormally large numbers of A records (>256) for a single hostname; DNS traffic anomalies from unexpected resolvers or spoofed source IPs.
  • Process: Repeated, unexplained restarts of the Node.js process by a process manager (e.g., PM2, systemd) without corresponding application errors; absence of graceful shutdown signals in process logs.

Risikominderung und Problemumgehungen

Node.js has released patched versions addressing CVE-2026-58042: v22.23.2, v24.18.1, and v26.5.1. All users on active release lines (22.x, 24.x, 26.x) should upgrade to the respective patched version immediately. As a temporary workaround, applications can avoid using dns.resolveAny() or restrict DNS resolution to trusted, controlled resolvers to reduce exposure. End-of-Life Node.js versions are also affected and should be migrated to a supported release line (Node.js Advisory, Node.js v22.23.2, Node.js v24.18.1, Node.js v26.5.1).

Reaktionen der Community

The vulnerability was covered by cybersecurity news outlets as part of broader reporting on Node.js's July 2026 security release, which addressed 11 vulnerabilities in total. Coverage highlighted the range of severity levels and the variety of affected subsystems (CyberSecurityNews, Cryptika). No notable individual researcher commentary or significant social media discussion specific to CVE-2026-58042 has been identified beyond general Node.js security release announcements.

Zusätzliche Ressourcen


QuelleDieser Bericht wurde mithilfe von KI erstellt

Verwandt Node.js Schwachstellen:

CVE-Kennung

Strenge

Punktzahl

Technologieen

Name der Komponente

CISA KEV-Exploit

Hat fix

Veröffentlichungsdatum

CVE-2026-56846HIGH7.5
  • Node.js logoNode.js
  • nodejs22
NeinJaAug 04, 2026
CVE-2026-58045MEDIUM6.2
  • Node.js logoNode.js
  • nodejs22
NeinJaAug 04, 2026
CVE-2026-58042MEDIUM5.9
  • Node.js logoNode.js
  • nodejs24
NeinJaAug 04, 2026
CVE-2026-58041MEDIUM5.3
  • Node.js logoNode.js
  • nodejs
NeinJaAug 04, 2026
CVE-2026-58044LOW3.7
  • Node.js logoNode.js
  • nodejs24
NeinJaAug 04, 2026

Kostenlose Schwachstellenbewertung

Benchmarking Ihrer Cloud-Sicherheitslage

Bewerten Sie Ihre Cloud-Sicherheitspraktiken in 9 Sicherheitsbereichen, um Ihr Risikoniveau zu bewerten und Lücken in Ihren Abwehrmaßnahmen zu identifizieren.

Bewertung anfordern

Eine personalisierte Demo anfordern

Sind Sie bereit, Wiz in Aktion zu sehen?

"Die beste Benutzererfahrung, die ich je gesehen habe, bietet vollständige Transparenz für Cloud-Workloads."
David EstlickCISO
"„Wiz bietet eine zentrale Oberfläche, um zu sehen, was in unseren Cloud-Umgebungen vor sich geht.“ "
Adam FletcherSicherheitsbeauftragter
"„Wir wissen, dass, wenn Wiz etwas als kritisch identifiziert, es auch wirklich kritisch ist.“"
Greg PoniatowskiLeiter Bedrohungs- und Schwachstellenmanagement