HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| pydantic | httpx2 | affected |
|
||||||
| pydantic | httpcore2 | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Pydantic | Httpcore2 |
|
||||||||
| Pydantic | Httpx2 |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-7mj9-2mp8-4m2p | HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.079% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Pydantic
Pydantic httpcore2 Pydantic httpx2 |
|
| Vendors & Products |
Pydantic
Pydantic httpcore2 Pydantic httpx2 |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | HTTPX2 is a next generation HTTP client for Python. Prior to 2.10.0, httpcore2 fails to start TLS in src/httpcore2/httpcore2/_sync/socks_proxy.py and src/httpcore2/httpcore2/_async/socks_proxy.py when the remote origin uses wss through a SOCKS5 proxy because the TLS upgrade condition only recognizes https. HTTPX2 exposes the flaw through Client.websocket() and AsyncClient.websocket() from 2.6.0 through 2.9.1, so the opening handshake, query parameters, Authorization headers, cookies, and subsequent frames can cross the proxy path in plaintext without certificate verification. An attacker controlling or observing that path can read or modify traffic and impersonate the WebSocket server. This issue is fixed in httpcore2 2.10.0 and HTTPX2 2.10.0. | |
| Title | HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies | |
| Weaknesses | CWE-319 | |
| References |
| |
| Metrics |
cvssV3_1
|