websocket-driver: Memory exhaustion triggered by small fragment frames holding long-lived references to TCP reads
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| faye | websocket-driver-node | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Faye | Websocket-driver-node |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-j7r2-xppq-m353 | websocket-driver: Memory exhaustion triggered by small fragment frames holding long-lived references to TCP reads |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.621% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Faye
Faye websocket-driver-node |
|
| Vendors & Products |
Faye
Faye websocket-driver-node |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.8.2, StreamReader.read() uses Buffer.slice() for small reads, so small fragmented message frames can retain references to much larger TCP input Buffer objects. Before 0.8.1, unfinished fragments can retain source TCP reads until the message completes or reaches maxLength; in 0.8.1, compaction occurs after 1,000,000 fragments but can still retain up to 1,000,000 TCP inputs. An unauthenticated remote client can exploit this retention to cause substantial memory inflation and potentially exhaust server memory. This issue is fixed in version 0.8.2. | |
| Title | websocket-driver: Memory exhaustion triggered by small fragment frames holding long-lived references to TCP reads | |
| Weaknesses | CWE-400 CWE-770 |
|
| References |
| |
| Metrics |
cvssV3_1
|