HTTP2 'unknownProtocol' cause Denial of Service by resource exhaustion
该报告还没有中文解读。
原文摘录
摘自原文(6365 字符中的一小部分)
**Summary:** Node.js http2 server is vulnerable against denial of service attacks when too many connection attempts with an 'unknownProtocol' are established. This leads to a leak of file descriptors. If a file descriptor limit is configured on the system, then the server is unable to accept new …
原文中的代码
server.on('unknownProtocol', socket => {
// Install a timeout of 10 second if the socket was
// not successfully closed, then destroy the socket
// to ensure that the underlying resources are released.
const timer = setTimeout(() => {
if (!socket.destroyed) {
socket.destroy(); …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Node.js 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @omicronenergy · 版权归作者与 Node.js 所有