{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-0957 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-0957 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-0957 is a high-severity vulnerability in Gitpod, published on 3 Mar 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-0957 and fix it if it is affected.\n\nWhat it is: CVE-2023-0957 is a high-severity vulnerability in Gitpod, published on 3 Mar 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-0957 in the wild and no public exploit code.\n\nAffected product: Gitpod. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-0957/ (Markdown: https://insights.sbomify.com/CVE-2023-0957/index.md)","id":"CVE-2023-0957","markdown":"https://insights.sbomify.com/CVE-2023-0957/index.md","name":"CVE-2023-0957","record":{"aliases":["GHSA-f53g-frr2-jhpf"],"analysis":{"component_type":"cloud_service","fix_type":"upgrade","impacts":["data_read","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Gitpod cloud IDE","requires_auth":"none","summary":"Attackers can hijack WebSocket connections to extract workspace data or take over accounts due to missing Origin header validation.","user_interaction":"required","vuln_class":"csrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"snyk","cpe":[{"product":"gitpod","vendor":"gitpod"}],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-346","name":"Origin Validation Error"},{"id":"CWE-1385","name":"Missing Origin Validation in WebSockets"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Cross-site request forgery in Gitpod","id":"CVE-2023-0957","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"csrf","year":"2023"},"n_packages":0,"n_references":7,"next":{"headline":"Inisev Plugins (Various Versions) - Missing Authorization on handle_installation function","id":"CVE-2023-0958"},"packages":[],"prev":{"headline":"TEL-STER TelWin SCADA WebInterface Path Traversal","id":"CVE-2023-0956"},"products":["Gitpod"],"published":"2023-03-03","related":[{"cvss_score":6.1,"headline":"Gitpod vulnerable to Cross-site Scripting","id":"CVE-2023-32766","kev_date_added":null,"published":"2023-06-05"},{"cvss_score":6.1,"headline":"Unvalidated redirects","id":"CVE-2021-35206","kev_date_added":null,"published":"2021-06-22"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-03-05","vendors":["Gitpod"]},"summary":"Attackers can hijack WebSocket connections to extract workspace data or take over accounts due to missing Origin header validation.","url":"https://insights.sbomify.com/CVE-2023-0957/"}