Incomplete Fix for CVE-2026-21637: OCSPRequest and resumeSession Events Crash Node.js TLS Server via Unhandled Synchronous Exceptions
该报告还没有中文解读。
原文摘录
摘自原文(7722 字符中的一小部分)
The March 2026 security release patched CVE-2026-21637 by wrapping `SNICallback`, `ALPNCallback`, and `pskCallback` invocations in `try/catch` blocks inside `lib/internal/tls/wrap.js`. That fix is present in v26.3.0.
原文中的代码
// lib/internal/tls/wrap.js — line 324-328
debug('server oncertcb emit OCSPRequest');
socket.server.emit('OCSPRequest', // <-- no try/catch
ctx.getCertificate(),
ctx.getIssuer(),
onOCSP);默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Node.js 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @shinchan_69 · 版权归作者与 Node.js 所有