Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-23085: Vulnerability in NodeJS Node

0
Medium
VulnerabilityCVE-2025-23085cvecve-2025-23085
Published: Fri Feb 07 2025 (02/07/2025, 07:09:25 UTC)
Source: CVE
Vendor/Project: NodeJS
Product: Node

Description

A memory leak could occur when a remote peer abruptly closes the socket without sending a GOAWAY notification. Additionally, if an invalid header was detected by nghttp2, causing the connection to be terminated by the peer, the same leak was triggered. This flaw could lead to increased memory consumption and potential denial of service under certain conditions. This vulnerability affects HTTP/2 Server users on Node.js v18.x, v20.x, v22.x and v23.x.

AI-Powered Analysis

AILast updated: 11/04/2025, 01:16:50 UTC

Technical Analysis

CVE-2025-23085 is a vulnerability identified in Node.js HTTP/2 server implementations affecting versions 18.x, 20.x, 22.x, and 23.x. The issue arises from improper handling of abrupt socket closures by remote peers that do not send a GOAWAY notification, as well as from connection terminations triggered by invalid HTTP/2 headers detected by the nghttp2 library. These conditions cause a memory leak (classified under CWE-401: Improper Release of Memory), leading to increased memory consumption on the server. Over time, this can exhaust system resources, resulting in denial of service (DoS) conditions. The vulnerability is exploitable remotely without requiring authentication or user interaction, making it accessible to unauthenticated attackers. The CVSS v3.0 score is 5.3 (medium severity), reflecting the impact limited to availability without compromising confidentiality or integrity. No patches were listed at the time of disclosure, and no known exploits have been reported in the wild. The flaw specifically impacts HTTP/2 server users on Node.js, which is widely used for scalable web applications and services. The vulnerability's root cause lies in the HTTP/2 protocol handling within Node.js's integration with the nghttp2 library, which manages HTTP/2 framing and connection lifecycle. Abrupt connection closures or malformed headers cause internal resources to remain allocated, leading to memory leaks.

Potential Impact

For European organizations, this vulnerability poses a risk primarily to availability. Web services and APIs built on Node.js HTTP/2 servers may experience degraded performance or outages due to memory exhaustion if targeted by attackers exploiting this flaw. Organizations with high-volume or public-facing Node.js applications are particularly vulnerable to denial of service attacks that could disrupt business operations, customer access, and critical services. While the vulnerability does not expose sensitive data or allow unauthorized code execution, the resulting service disruption can have significant operational and reputational impacts. Sectors such as finance, e-commerce, government, and telecommunications, which rely heavily on Node.js for backend services, may face increased risk. Additionally, the lack of authentication or user interaction requirements lowers the barrier for exploitation, increasing the likelihood of opportunistic attacks. The absence of known exploits currently reduces immediate threat but does not eliminate future risk, especially as attackers often develop exploits post-disclosure.

Mitigation Recommendations

European organizations should implement the following specific mitigations: 1) Monitor memory usage and connection metrics on Node.js HTTP/2 servers to detect abnormal resource consumption early. 2) Apply any official patches or updates from the Node.js project promptly once released. 3) Implement connection rate limiting and timeouts to reduce the impact of abrupt socket closures and malformed headers. 4) Use reverse proxies or web application firewalls (WAFs) capable of filtering malformed HTTP/2 traffic to prevent triggering the vulnerability. 5) Conduct regular security testing and fuzzing of HTTP/2 endpoints to identify and remediate related issues proactively. 6) Consider temporarily disabling HTTP/2 support if feasible until patches are available, especially on critical systems. 7) Maintain an inventory of Node.js versions in use and prioritize upgrades to unaffected or patched versions. 8) Collaborate with incident response teams to prepare for potential denial of service scenarios related to this vulnerability.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
hackerone
Date Reserved
2025-01-10T19:05:52.771Z
Cisa Enriched
true
Cvss Version
3.0
State
PUBLISHED

Threat ID: 682d983ac4522896dcbed62c

Added to database: 5/21/2025, 9:09:14 AM

Last enriched: 11/4/2025, 1:16:50 AM

Last updated: 12/4/2025, 9:37:15 AM

Views: 46

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats