Critical Security Update for Node.js: Addressing Multiple Denial of Service Vulnerabilities
Summary
ALSA-2026:7123: Important: nodejs:22 security update. Affects nodejs versions < 1:22.22.2-1.module_el8.10.0+4158+e796f37f. Fixed in 1:22.22.2-1.module_el8.10.0+4158+e796f37f. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Node.js is a powerful software development platform designed for building fast and scalable network applications using JavaScript. It is widely used for server-side development due to its non-blocking, event-driven architecture, which allows for efficient handling of multiple connections. However, recent vulnerabilities have been identified that could lead to denial of service attacks, affecting the stability and availability of applications built on this platform.
Vulnerability Detail
The vulnerabilities stem from various packages within the Node.js ecosystem, including 'brace-expansion', 'minimatch', and 'undici'. These vulnerabilities can lead to denial of service through unbounded brace range expansion, specially crafted glob patterns, catastrophic backtracking in glob expressions, and issues with WebSocket handling. Attackers could exploit these vulnerabilities to consume excessive resources, leading to application crashes or unresponsiveness.
How To Fix
Minimum fixed version
1:22.22.2-1.module_el8.10.0+4158+e796f37f
This is the first release that contains the fix.
sudo dnf update nodejs
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
If immediate updating is not feasible, consider implementing rate limiting on your application to mitigate the impact of potential denial of service attacks. Additionally, monitor your application for unusual traffic patterns that may indicate an ongoing attack.
Conclusion
In summary, the recent vulnerabilities identified in Node.js pose significant risks, particularly in terms of denial of service attacks. It is crucial for developers and system administrators to promptly update their Node.js installations and related packages to the latest patched versions to ensure the security and stability of their applications.
See every vulnerability recorded for nodejs →
FAQ
The vulnerabilities primarily involve denial of service attacks that can be triggered through various means, including crafted input that exploits specific packages.
You can use Vulert, which allows you to monitor and alert for open-source vulnerabilities in your software using just a manifest file like package-lock.json. Visit Vulert Scanner to check your application without needing to sign up.
Failing to address these vulnerabilities can lead to application downtime, degraded performance, and potential data loss, impacting user experience and trust.
Yes, the vulnerabilities affect various versions of Node.js prior to the patched version 1:22.22.2-1.module_el8.10.0+4158+e796f37f.
Implement temporary workarounds such as rate limiting and closely monitor your application for unusual activity until you can apply the necessary updates.
Related vulnerabilities
Recent vulnerabilities recorded for nodejs.