{"id":"CVE-2023-0957","details":"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.","modified":"2026-03-15T22:45:48.256093Z","published":"2023-03-03T08:15:08.613Z","references":[{"type":"ADVISORY","url":"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"},{"type":"ADVISORY","url":"https://github.com/gitpod-io/gitpod/releases/tag/release-2022.11.2"},{"type":"ADVISORY","url":"https://snyk.io/blog/gitpod-remote-code-execution-vulnerability-websockets/"},{"type":"FIX","url":"https://github.com/gitpod-io/gitpod/commit/12956988eec0031f42ffdfa3bdc3359f65628f9f"},{"type":"FIX","url":"https://github.com/gitpod-io/gitpod/commit/673ab6856fa04c13b7b1f2a968e4d090f1d94e4f"},{"type":"FIX","url":"https://github.com/gitpod-io/gitpod/pull/16378"},{"type":"FIX","url":"https://github.com/gitpod-io/gitpod/pull/16405"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gitpod-io/gitpod","events":[{"introduced":"0"},{"fixed":"72e822c8dbc247382ff1e02032dec2231fe89698"},{"fixed":"12956988eec0031f42ffdfa3bdc3359f65628f9f"},{"fixed":"673ab6856fa04c13b7b1f2a968e4d090f1d94e4f"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"2022.11.2"}]}}],"versions":["0.6.0","2022-11-1-rc1","2022.02.0-rc1","2022.03.0","2022.03.0-rc0","2022.04.0-rc0","2022.05.0","2022.05.0-rc1","2022.11.0","2022.11.0-rc0","2022.11.1","2022.11.1-rc0","poolkeeper-v1.0.0","v0.10.0-nightly","v0.6.0-beta3","v0.9.0-alpha1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-0957.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"}]}