What’s Vulnerable › Vulnerabilities
CVE-2023-0957
- Severity: critical (CVSS 9.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-03-03 · updated 2026-06-17
- Weakness: CWE-1385
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.
Affected products
- Gitpod: before 2022.11.2 — fixed in 2022.11.2
How to fix
Upgrade to a fixed version: Gitpod 2022.11.2. Check the vendor advisory for mitigations.
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-052e6337f34d
- https://github.com/gitpod-io/gitpod/commit/12956988eec0031f42ffdfa3bdc3359f65628f9f
- https://github.com/gitpod-io/gitpod/commit/673ab6856fa04c13b7b1f2a968e4d090f1d94e4f
- https://github.com/gitpod-io/gitpod/pull/16378
- https://github.com/gitpod-io/gitpod/pull/16405
- https://github.com/gitpod-io/gitpod/releases/tag/release-2022.11.2
- https://snyk.io/blog/gitpod-remote-code-execution-vulnerability-websockets/
- https://app.safebase.io/portal/71ccd717-aa2d-4a1e-942e-c768d37e9e0c/preview?product=default&orgId=71ccd717-aa2d-4a1e-942e-c768d37e9e0c&tcuUid=1d505bda-9a38-4ca5-8724-052e6337f34d
- https://github.com/gitpod-io/gitpod/commit/12956988eec0031f42ffdfa3bdc3359f65628f9f
- https://github.com/gitpod-io/gitpod/commit/673ab6856fa04c13b7b1f2a968e4d090f1d94e4f
- https://github.com/gitpod-io/gitpod/pull/16378
- https://github.com/gitpod-io/gitpod/pull/16405
Get alerted when CVE-2023-0957 or the next vulnerability affects your stack