REDHAT-BUG-2431340: Medium severity npm/node vulnerability
A flaw in Node.js TLS error handling allows remote attackers to crash or exhaust resources of a TLS server when pskCallback or ALPNCallback are in use. Synchronous exceptions thrown during these callbacks bypass standard TLS error handling paths (tlsClientError and error), causing either immediate process termination or silent file descriptor leaks that eventually lead to denial of service. Because these callbacks process attacker-controlled input during the TLS handshake, a remote client can repeatedly trigger the issue. This vulnerability affects TLS servers using PSK or ALPN callbacks across Node.js versions where these callbacks throw without being safely wrapped.
Affected Software
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2431340?
The severity of REDHAT-BUG-2431340 is medium, with a risk score of 4.
How do I fix REDHAT-BUG-2431340?
To fix REDHAT-BUG-2431340, update your Node.js to the latest version that addresses the TLS error handling flaw.
What are the potential impacts of REDHAT-BUG-2431340?
The potential impacts of REDHAT-BUG-2431340 include crashing or exhausting resources of a TLS server that uses `pskCallback` or `ALPNCallback`.
Which software is affected by REDHAT-BUG-2431340?
The software affected by REDHAT-BUG-2431340 includes npm and Node.js.
When was REDHAT-BUG-2431340 published?
REDHAT-BUG-2431340 was published on January 20, 2026.