Bun WebSocket: Deferred TLS Tunnel Input Bypassing Pause After onopen
Is it fixed? Not yet.
Ongoing since Nov 11, 08:29 UTC. First reported Nov 11, 08:29 UTC.
What happened
A source review in the Bun repository identified a potential issue where deferred TLS tunnel input can bypass pause states after onopen. No executed reproduction or released fix is currently claimed.
What caused it?
WebSocketUpgradeClient::complete_upgrade explicitly allows nested waits in onopen to forward ciphertext into the TLS tunnel, while SSLWrapper defers reentrant ciphertext until its active SSL pass resumes.
No verified workaround yet
None of the linked reports describe a mitigation. This page updates when one appears.
Official fixTimeline
- Investigating(current)
- Workaround available(upcoming)
- Resolved(upcoming)
- First report on GitHub issue
WebSocket: investigate deferred TLS tunnel input bypassing pause after onopen
Source
Evidence
1 report · 1 GitHubShow
- [1]GitHub First reportWebSocket: investigate deferred TLS tunnel input bypassing pause after onopen(opens GitHub issue in a new tab)
Source review of #48562 found a separate pause lifecycle path that also exists at its base revision, 89452d2ac13773aee8a6d632c4c30074bd1bb4fa. This ticket records the source finding and the missing runtime qualification; no executed reproduction or released fix is claimed. WebSocketUpgradeClient::complete_upgrade explicitly allows nested waits in onopen to forward ciphertext into the TLS tunnel. SSLWrapper defers reentrant ciphertext until its active SSL pass resumes. If onopen subsequently…
by chrisbbreuer 0upvotes 1comments
FAQ
What happened in the Bun issue?
A source review in the Bun repository identified a potential issue where deferred TLS tunnel input can bypass pause states after onopen. No executed reproduction or released fix is currently claimed.
What is affected by the Bun issue?
Bun.
When did the Bun issue start and end?
It started Nov 11, 08:29 UTC and is still ongoing (7 d 20 h so far). This page updates as it develops.
How do I get alerts for Bun?
Subscribe to the Bun RSS feed for every new Bun incident, or connect an AI assistant to WhatBrokeToday over MCP and ask whether Bun is down. Bun feed
Where does this information come from?
WhatBrokeToday collects public status pages, developer community reports and security advisories, groups the ones about the same problem, and links every report under Evidence on this page. This one has 1 report from 1 independent source.