{"api_version":"1","generated_at":"2026-07-24T00:33:44+00:00","cve":"CVE-2023-0957","urls":{"html":"https://cve.report/CVE-2023-0957","api":"https://cve.report/api/cve/CVE-2023-0957.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-0957","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-0957"},"summary":{"title":"CVE-2023-0957","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.","state":"PUBLIC","assigner":"report@snyk.io","published_at":"2023-03-03 08:15:00","updated_at":"2023-03-10 19:04:00"},"problem_types":["CWE-346"],"metrics":[],"references":[{"url":"https://snyk.io/blog/gitpod-remote-code-execution-vulnerability-websockets/","name":"https://snyk.io/blog/gitpod-remote-code-execution-vulnerability-websockets/","refsource":"MISC","tags":[],"title":"Gitpod remote code execution 0-day vulnerability via WebSockets | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/gitpod-io/gitpod/pull/16405","name":"https://github.com/gitpod-io/gitpod/pull/16405","refsource":"MISC","tags":[],"title":"[public-api-server] Forward Origin header where provided by geropl · Pull Request #16405 · gitpod-io/gitpod · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/gitpod-io/gitpod/commit/12956988eec0031f42ffdfa3bdc3359f65628f9f","name":"https://github.com/gitpod-io/gitpod/commit/12956988eec0031f42ffdfa3bdc3359f65628f9f","refsource":"MISC","tags":[],"title":"[server] strict same site origin for /api/gitpod endpoint · gitpod-io/gitpod@1295698 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"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","name":"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","refsource":"MISC","tags":[],"title":"Gitpod Trust Center | SafeBase","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/gitpod-io/gitpod/pull/16378","name":"https://github.com/gitpod-io/gitpod/pull/16378","refsource":"MISC","tags":[],"title":"[server] strict same site origin for /api/gitpod endpoint by akosyakov · Pull Request #16378 · gitpod-io/gitpod · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/gitpod-io/gitpod/releases/tag/release-2022.11.2","name":"https://github.com/gitpod-io/gitpod/releases/tag/release-2022.11.2","refsource":"MISC","tags":[],"title":"Release 2022.11.2 · gitpod-io/gitpod · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/gitpod-io/gitpod/commit/673ab6856fa04c13b7b1f2a968e4d090f1d94e4f","name":"https://github.com/gitpod-io/gitpod/commit/673ab6856fa04c13b7b1f2a968e4d090f1d94e4f","refsource":"MISC","tags":[],"title":"Use context to store and populate origin · gitpod-io/gitpod@673ab68 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-0957","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0957","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"957","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gitpod","cpe5":"gitpod","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-0957","ASSIGNER":"report@snyk.io","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-1385 Missing Origin Validation in WebSockets","cweId":"CWE-1385"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"Gitpod","product":{"product_data":[{"product_name":"Gitpod","version":{"version_data":[{"version_affected":"<","version_name":"0","version_value":"2022.11.2"}]}}]}}]}},"references":{"reference_data":[{"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","refsource":"MISC","name":"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"},{"url":"https://github.com/gitpod-io/gitpod/releases/tag/release-2022.11.2","refsource":"MISC","name":"https://github.com/gitpod-io/gitpod/releases/tag/release-2022.11.2"},{"url":"https://github.com/gitpod-io/gitpod/pull/16378","refsource":"MISC","name":"https://github.com/gitpod-io/gitpod/pull/16378"},{"url":"https://github.com/gitpod-io/gitpod/pull/16405","refsource":"MISC","name":"https://github.com/gitpod-io/gitpod/pull/16405"},{"url":"https://github.com/gitpod-io/gitpod/commit/12956988eec0031f42ffdfa3bdc3359f65628f9f","refsource":"MISC","name":"https://github.com/gitpod-io/gitpod/commit/12956988eec0031f42ffdfa3bdc3359f65628f9f"},{"url":"https://github.com/gitpod-io/gitpod/commit/673ab6856fa04c13b7b1f2a968e4d090f1d94e4f","refsource":"MISC","name":"https://github.com/gitpod-io/gitpod/commit/673ab6856fa04c13b7b1f2a968e4d090f1d94e4f"},{"url":"https://snyk.io/blog/gitpod-remote-code-execution-vulnerability-websockets/","refsource":"MISC","name":"https://snyk.io/blog/gitpod-remote-code-execution-vulnerability-websockets/"}]},"credits":[{"lang":"en","value":"Elliot Ward, Snyk"}],"impact":{"cvss":[{"attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"LOW","baseScore":8.2,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L","version":"3.1"}]}},"nvd":{"publishedDate":"2023-03-03 08:15:00","lastModifiedDate":"2023-03-10 19:04:00","problem_types":["CWE-346"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.6,"baseSeverity":"CRITICAL"},"exploitabilityScore":2.8,"impactScore":6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:gitpod:gitpod:*:*:*:*:*:*:*:*","versionEndExcluding":"2022.11.2","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}