Vulnerability Details : CVE-2023-0957
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.
Products affected by CVE-2023-0957
- cpe:2.3:a:gitpod:gitpod:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-0957
0.37%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 73 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-0957
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
9.6
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
2.8
|
6.0
|
NIST | |
8.2
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L |
1.6
|
6.0
|
Snyk |
CWE ids for CVE-2023-0957
-
The product does not properly verify that the source of data or communication is valid.Assigned by: nvd@nist.gov (Primary)
-
The product uses a WebSocket, but it does not properly verify that the source of data or communication is valid.Assigned by: report@snyk.io (Secondary)
References for CVE-2023-0957
-
https://github.com/gitpod-io/gitpod/pull/16405
[public-api-server] Forward Origin header where provided by geropl · Pull Request #16405 · gitpod-io/gitpod · GitHubIssue Tracking;Patch
-
https://github.com/gitpod-io/gitpod/commit/673ab6856fa04c13b7b1f2a968e4d090f1d94e4f
Use context to store and populate origin · gitpod-io/gitpod@673ab68 · GitHubPatch
-
https://github.com/gitpod-io/gitpod/pull/16378
[server] strict same site origin for /api/gitpod endpoint by akosyakov · Pull Request #16378 · gitpod-io/gitpod · GitHubIssue Tracking;Patch
-
https://github.com/gitpod-io/gitpod/releases/tag/release-2022.11.2
Release 2022.11.2 · gitpod-io/gitpod · GitHubRelease Notes
-
https://snyk.io/blog/gitpod-remote-code-execution-vulnerability-websockets/
Gitpod remote code execution 0-day vulnerability via WebSockets | SnykThird Party Advisory
-
https://github.com/gitpod-io/gitpod/commit/12956988eec0031f42ffdfa3bdc3359f65628f9f
[server] strict same site origin for /api/gitpod endpoint · gitpod-io/gitpod@1295698 · GitHubPatch
-
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
Gitpod Trust Center | SafeBaseVendor Advisory
Jump to