Critical Node.js Flaw Lets Attackers Crash Applications and Disrupt Services

The Node.js project has issued a critical security release for its 20.x, 22.x, 23.x, and 24.x versions, patching several vulnerabilities that could impact the stability and security of applications worldwide.

The update, released on May 14, 2025, addresses three main CVEs, each with varying severity and potential impact on production environments.

High-Severity Flaw in Async Crypto Operations (CVE-2025-23166)

The most urgent fix addresses a high-severity vulnerability in the handling of asynchronous cryptographic operations.

The flaw, present in the C++ method SignTraits::DeriveBits(), could allow attackers to remotely crash a Node.js process by exploiting improper error handling when cryptographic operations are performed on untrusted inputs.

This could result in a denial of service, potentially taking down critical services that rely on Node.js for backend processing. All users on active release lines are affected and are strongly urged to update immediately.

HTTP Header Parsing Vulnerability (CVE-2025-23167)

A medium-severity issue was found in the llhttp HTTP parser, where improper termination of HTTP/1 headers could allow attackers to bypass proxy-based access controls using request smuggling techniques.

The vulnerability, which affects Node.js 20.x versions prior to the llhttp v9 upgrade, has been addressed by updating llhttp to version 9.2.0.

This change enforces correct header termination and closes off avenues for unauthorized requests 24.

File System Memory Leak (CVE-2025-23165)

Rounding out the update is a low-severity memory leak in the node::fs::ReadFileUtf8 function.

When the first argument is a string, a corrupted pointer could lead to unrecoverable memory leaks on every call, eventually exhausting system memory and causing a denial of service.

This issue affects APIs dependent on ReadFileUtf8 in Node.js v20 and v22 and has been resolved by ensuring proper cleanup with uv_fs_req_cleanu.

Action Required

Node.js users are strongly advised to upgrade to the latest patched versions to mitigate these vulnerabilities.

Installers and binaries for all major platforms are available on the official Node.js website. Keeping Node.js up to date is essential for maintaining operational security and reliability.

For more details, consult the Node.js security policy and subscribe to security announcements to stay informed about future updates.

Find this Story Interesting! Follow us on LinkedIn and X to Get More Instant updates

AnuPriya
AnuPriya
Any Priya is a cybersecurity reporter at Cyber Press, specializing in cyber attacks, dark web monitoring, data breaches, vulnerabilities, and malware. She delivers in-depth analysis on emerging threats and digital security trends.

Trending News

Related Stories