curl's websocket code did not update the 32 bit mask pattern for each new
outgoing frame as the specification says. Instead it used a fixed mask that
persisted and was used throughout the entire connection.
A predictable mask pattern allows for a malicious server to induce traffic
between the two communicating parties that could be interpreted by an involved
proxy (configured or transparent) as genuine, real, HTTP traffic with content
and thereby poison its cache. That cached poisoned content could then be
served to all users of that proxy.
Metrics
Affected Vendors & Products
References
History
Mon, 15 Sep 2025 10:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
First Time appeared |
Curl
Curl curl |
|
Vendors & Products |
Curl
Curl curl |
Sat, 13 Sep 2025 00:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Weaknesses | CWE-340 | |
References |
| |
Metrics |
threat_severity
|
threat_severity
|
Fri, 12 Sep 2025 18:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
cvssV3_1
|
Fri, 12 Sep 2025 05:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Description | curl's websocket code did not update the 32 bit mask pattern for each new outgoing frame as the specification says. Instead it used a fixed mask that persisted and was used throughout the entire connection. A predictable mask pattern allows for a malicious server to induce traffic between the two communicating parties that could be interpreted by an involved proxy (configured or transparent) as genuine, real, HTTP traffic with content and thereby poison its cache. That cached poisoned content could then be served to all users of that proxy. | |
Title | predictable WebSocket mask | |
References |
|

Status: PUBLISHED
Assigner: curl
Published: 2025-09-12T05:10:37.469Z
Updated: 2025-09-12T17:17:12.815Z
Reserved: 2025-09-09T03:45:41.908Z
Link: CVE-2025-10148

Updated: 2025-09-12T17:17:07.462Z

Status : Received
Published: 2025-09-12T06:15:40.020
Modified: 2025-09-12T18:15:33.233
Link: CVE-2025-10148
