Authentication bypass in strawberry-graphql via legacy graphql-ws WebSocket subprotocol
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| strawberry-graphql | strawberry | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Strawberry | Strawberry |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-vpwc-v33q-mq89 | strawberry-graphql: Authentication bypass via legacy graphql-ws WebSocket subprotocol |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.440% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Strawberry strawberry Graphql
|
|
| CPEs | cpe:2.3:a:strawberry:strawberry_graphql:*:*:*:*:*:python:*:* | |
| Vendors & Products |
Strawberry strawberry Graphql
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Strawberry
Strawberry strawberry |
|
| Vendors & Products |
Strawberry
Strawberry strawberry |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Strawberry GraphQL is a library for creating GraphQL APIs. Strawberry up until version 0.312.3 is vulnerable to an authentication bypass on WebSocket subscription endpoints. The legacy graphql-ws subprotocol handler does not verify that a connection_init handshake has been completed before processing start (subscription) messages. This allows a remote attacker to skip the on_ws_connect authentication hook entirely by connecting with the graphql-ws subprotocol and sending a start message directly, without ever sending connection_init. This vulnerability is fixed in 0.312.3. | |
| Title | Authentication bypass in strawberry-graphql via legacy graphql-ws WebSocket subprotocol | |
| Weaknesses | CWE-306 | |
| References |
| |
| Metrics |
cvssV3_1
|