{"id":5383,"date":"2025-07-16T10:13:11","date_gmt":"2025-07-16T10:13:11","guid":{"rendered":"https:\/\/serisec.com\/index.php\/2025\/07\/16\/node-js-vulnerabilities-exposes-windows-app-to-path-traversal-and-hashdos-attacks\/"},"modified":"2025-07-16T10:13:11","modified_gmt":"2025-07-16T10:13:11","slug":"node-js-vulnerabilities-exposes-windows-app-to-path-traversal-and-hashdos-attacks","status":"publish","type":"post","link":"https:\/\/serisec.com\/index.php\/2025\/07\/16\/node-js-vulnerabilities-exposes-windows-app-to-path-traversal-and-hashdos-attacks\/","title":{"rendered":"Node.js Vulnerabilities Exposes Windows App to Path Traversal and HashDoS Attacks"},"content":{"rendered":"<p>    Node.js Vulnerabilities Exposes Windows App to Path Traversal and HashDoS Attacks<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n    <!-- no image --><br \/>\n \t<BR><br \/>\n<BR><\/BR><\/p>\n<div>\n<p>The Node.js project has released critical security updates across multiple release lines to address two high-severity vulnerabilities affecting Windows applications and V8 engine implementations.\u00a0<\/p>\n<p>Security releases are now available for Node.js versions 20.x, 22.x, and 24.x, with patches addressing a <a href=\"https:\/\/cybersecuritynews.com\/tag\/path-traversal\/\" target=\"_blank\" rel=\"noreferrer noopener\">path traversal<\/a> bypass and a HashDoS attack vector that could significantly impact application security and performance.<\/p>\n<pre class=\"wp-block-preformatted\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\"><strong>Key Takeaways<\/strong><br><\/mark>1. Node.js patched two high-severity flaws - Windows path traversal bypass (CVE-2025-27210) and V8 HashDoS attack (CVE-2025-27209).<br>2. Windows apps on Node.js 20.x, 22.x, 24.x vulnerable to path traversal; V8 HashDoS impacts only 24.x users.<br>3. Attackers can access unauthorized files via Windows device names and cause service disruption through hash collisions.<br>4. Update immediately to patched versions - v20.19.4, v22.17.1, and v24.4.1.<\/pre>\n<h2 class=\"wp-block-heading\"><strong>Windows Path Traversal Vulnerability\u00a0<\/strong><\/h2>\n<p>A critical vulnerability identified as CVE-2025-27210 has been discovered in Node.js, specifically targeting Windows device names including CON, PRN, and AUX.\u00a0<\/p>\n<p>This high-severity issue represents an incomplete fix for the previously patched CVE-2025-23084, demonstrating how attackers can bypass path traversal protection mechanisms in the path.normalize() function.<\/p>\n<p>The vulnerability affects all Windows users utilizing the path.join() API across active release lines 20.x, 22.x, and 24.x.\u00a0<\/p>\n<p>When processing file paths containing <a href=\"https:\/\/cybersecuritynews.com\/tag\/windows\/\" target=\"_blank\" rel=\"noreferrer noopener\">Windows<\/a> reserved device names, the path.normalize() function fails to properly sanitize inputs, allowing attackers to traverse directory structures and potentially access sensitive files outside the intended scope.\u00a0<\/p>\n<p>This directory traversal attack could enable unauthorized file system access, configuration file exposure, or arbitrary file reading depending on application permissions.<\/p>\n<p>The technical implementation flaw occurs when the normalization process encounters Windows-specific device names, which are treated as special system files by the operating system.\u00a0<\/p>\n<p>Attackers can craft malicious paths like ..\/..\/..\/CON\/..\/..\/sensitive.txt to bypass security controls that should prevent access to parent directories.<\/p>\n<h2 class=\"wp-block-heading\"><strong>V8 HashDoS Vulnerability\u00a0<\/strong><\/h2>\n<p>The second vulnerability, CVE-2025-27209, affects the <a href=\"https:\/\/cybersecuritynews.com\/hackers-compiled-v8-javascript-malware\/\" target=\"_blank\" rel=\"noreferrer noopener\">V8 JavaScript engine<\/a> used in Node.js v24.0.0, introducing a Hash Denial of Service (HashDoS) attack vector.\u00a0<\/p>\n<p>This high-severity issue stems from changes in how the V8 engine computes string hashes using the rapidhash implementation, which reintroduces collision-based vulnerabilities.<\/p>\n<p>The HashDoS attack allows malicious actors to generate numerous hash collisions by controlling input strings, even without knowledge of the hash seed.\u00a0<\/p>\n<p>This can lead to algorithmic complexity attacks where hash table operations degrade from O(1) to O(n) performance, potentially causing severe application slowdowns or complete service disruption.<\/p>\n<p>Unlike traditional hash collision attacks that require knowledge of internal hash functions, this vulnerability enables attackers to craft collision-prone strings that force the hash table into worst-case performance scenarios.\u00a0<\/p>\n<p>Applications processing user-controlled data through hash-based data structures become particularly vulnerable to <a href=\"https:\/\/cybersecuritynews.com\/denial-of-servicedos-attack\/\" target=\"_blank\" rel=\"noreferrer noopener\">CPU exhaustion<\/a> attacks.<\/p>\n<p>The Node.js project has prioritized this as a security vulnerability despite the V8 team\u2019s classification, recognizing its potential impact in real-world deployment scenarios where application availability is critical.<\/p>\n<figure class=\"wp-block-table is-style-stripes\">\n<table class=\"has-fixed-layout\">\n<tbody>\n<tr>\n<td><strong>CVE<\/strong><\/td>\n<td><strong>Title<\/strong><\/td>\n<td><strong>Affected Products<\/strong><\/td>\n<td><strong>CVSS 3.1 Score<\/strong><\/td>\n<td><strong>Severity<\/strong><\/td>\n<\/tr>\n<tr>\n<td>CVE-2025-27210<\/td>\n<td>Windows Device Names (CON, PRN, AUX) Bypass Path Traversal Protection in path.normalize()<\/td>\n<td>Node.js 20.x, 22.x, 24.x<\/td>\n<td>7.5\u00a0<\/td>\n<td>High<\/td>\n<\/tr>\n<tr>\n<td>CVE-2025-27209<\/td>\n<td>HashDoS in V8<\/td>\n<td>Node.js 24.x<\/td>\n<td>7.5\u00a0<\/td>\n<td>High<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p>Organizations running Node.js applications should immediately update to the latest patched versions: Node.js v20.19.4, v22.17.1, and v24.4.1.\u00a0<\/p>\n<p>The security <a href=\"https:\/\/nodejs.org\/en\/blog\/vulnerability\/july-2025-security-releases\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">releases address<\/a> both vulnerabilities with comprehensive fixes developed by the <a href=\"https:\/\/cybersecuritynews.com\/node-js-vulnerability-allows-attackers\/\" target=\"_blank\" rel=\"noreferrer noopener\">Node.js security<\/a> team in collaboration with vulnerability researchers oblivionsage, sharp_edged, RafaelGSS, and targos.<\/p>\n<p class=\"has-text-align-center has-background\" style=\"background:linear-gradient(180deg,rgb(238,238,238) 93%,rgb(169,184,195) 100%)\">Investigate live malware behavior, trace every step of an attack, and make faster, smarter security decisions -&gt; <a href=\"https:\/\/any.run\/demo?utm_source=li_csn&amp;utm_medium=post&amp;utm_campaign=red_flags&amp;utm_content=demo&amp;utm_term=070725\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><strong>Try ANY.RUN now<\/strong><\/a>\u00a0<\/p>\n<p>The post <a href=\"https:\/\/cybersecuritynews.com\/windows-node-js-vulnerabilities\/\">Node.js Vulnerabilities Exposes Windows App to Path Traversal and HashDoS Attacks<\/a> appeared first on <a href=\"https:\/\/cybersecuritynews.com\/\">Cyber Security News<\/a>.<\/p>\n<\/div>\n<p> \t<BR><br \/>\n <BR><\/BR><br \/>\n    Guru Baran<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n<a href=\"https:\/\/cybersecuritynews.com\/windows-node-js-vulnerabilities\/\">Go to cyber-security-news<\/a><br \/>\n \t<BR><br \/>\n <BR><\/BR><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Node.js Vulnerabilities Exposes Windows App to Path Traversal and HashDoS Attacks The Node.js project has released critical security updates across multiple release lines to address two high-severity vulnerabilities affecting Windows applications and V8 engine implementations.\u00a0 Security releases are now available for Node.js versions 20.x, 22.x, and 24.x, with patches addressing a path traversal bypass and [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[129,63,416,131,395],"tags":[130],"class_list":["post-5383","post","type-post","status-publish","format-standard","hentry","category-cyber-security","category-cyber-security-news","category-vulnerabilities","category-vulnerability","category-windows","tag-cyber-security-news"],"_links":{"self":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/5383"}],"collection":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/comments?post=5383"}],"version-history":[{"count":0,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/5383\/revisions"}],"wp:attachment":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/media?parent=5383"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/categories?post=5383"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/tags?post=5383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}