CVE-2023-0957
There is a Cross-Site WebSocket Hijacking (CSWSH) vulnerability that allows attackers to make WebSocket connections to the Gitpod JSONRPC server using a victim’s credentials, because the Origin header is not restricted.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.42%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
An issue was discovered in Gitpod versions prior to release-2022.11.2.16. There is a Cross-Site WebSocket Hijacking (CSWSH) vulnerability that allows attackers to make WebSocket connections to the Gitpod JSONRPC server using a victim’s credentials, because the Origin header is not restricted. This can lead to the extraction of data from workspaces, to a full takeover of the workspace.
- CVSS 3.1
- 9.6 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- EPSS
- 0.42% probability · 35th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-1385, CWE-346
- Affected
- gitpod/gitpod
- Source
- report@snyk.io
References
- https://app.safebase.io/portal/71ccd717-aa2d-4a1e-942e-c768d37e9e0c/preview?product=default&orgId=71ccd717-aa2d-4a1e-942e-c768d37e9e0c&tcuUid=1d505bda-9a38-4ca5-8724-052e6337f34dVendor Advisory
- https://github.com/gitpod-io/gitpod/commit/12956988eec0031f42ffdfa3bdc3359f65628f9fPatch
- https://github.com/gitpod-io/gitpod/commit/673ab6856fa04c13b7b1f2a968e4d090f1d94e4fPatch
- https://github.com/gitpod-io/gitpod/pull/16378Issue Tracking, Patch
- https://github.com/gitpod-io/gitpod/pull/16405Issue Tracking, Patch
- https://github.com/gitpod-io/gitpod/releases/tag/release-2022.11.2Release Notes
- https://snyk.io/blog/gitpod-remote-code-execution-vulnerability-websockets/Third Party Advisory
- https://app.safebase.io/portal/71ccd717-aa2d-4a1e-942e-c768d37e9e0c/preview?product=default&orgId=71ccd717-aa2d-4a1e-942e-c768d37e9e0c&tcuUid=1d505bda-9a38-4ca5-8724-052e6337f34dVendor Advisory
- https://github.com/gitpod-io/gitpod/commit/12956988eec0031f42ffdfa3bdc3359f65628f9fPatch
- https://github.com/gitpod-io/gitpod/commit/673ab6856fa04c13b7b1f2a968e4d090f1d94e4fPatch
- https://github.com/gitpod-io/gitpod/pull/16378Issue Tracking, Patch
- https://github.com/gitpod-io/gitpod/pull/16405Issue Tracking, Patch
- https://github.com/gitpod-io/gitpod/releases/tag/release-2022.11.2Release Notes
- https://snyk.io/blog/gitpod-remote-code-execution-vulnerability-websockets/Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.