Asymmetric denial of service - ReDoS In nodejs
Description
A malformed HTTP/2 HEADERS frame with oversized, invalid HPACK data can cause Node.js to crash by triggering an unhandled TLSSocket error ECONNRESET. Instead of safely closing the connection, the process crashes, enabling a remote denial of service. This primarily affects applications that do not attach explicit error handlers to secure sockets, for example:
server.on('secureConnection', socket => { socket.on('error', err => { console.log(err) }) })
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
debian 13 | 20.19.2+dfsg-1+deb13u1 | ||
debian 12 | 18.20.4+dfsg-1~deb12u2 | ||
debian 14 | 22.22.0+dfsg+~cs22.19.6-1 | ||
alpine v3.22 | 22.22.0-r0 | ||
rpm rhel9.6 | 1:20.20.0-1.module+el9.6.0+23988+6b9eae47 | ||
rpm rhel8 | 1:20.20.0-1.module+el8.10.0+23905+c49b2aec | ||
rpm rhel9 | 1:20.20.0-1.module+el9.7.0+23895+0637d423 | ||
rpm rhel10 | 1:22.22.0-3.el10_1 | ||
rpm rhel10 | 1:24.13.0-1.el10_1 | ||
rpm rhel9.4 | 1:20.20.0-1.module+el9.4.0+23992+5dc31998 |
1-10 of 13
10
Aliases
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27.
References
1. 2.