{"cve":"CVE-2024-21583","nvd":{"published":"2024-07-19T05:15:10.373","modified":"2026-06-17T07:09:44.457","status":"Deferred","description":"Versions of the package github.com/gitpod-io/gitpod/components/server/go/pkg/lib before main-gha.27122; versions of the package github.com/gitpod-io/gitpod/components/ws-proxy/pkg/proxy before main-gha.27122; versions of the package github.com/gitpod-io/gitpod/install/installer/pkg/components/auth before main-gha.27122; versions of the package github.com/gitpod-io/gitpod/install/installer/pkg/components/public-api-server before main-gha.27122; versions of the package github.com/gitpod-io/gitpod/install/installer/pkg/components/server before main-gha.27122; versions of the package @gitpod/gitpod-protocol before 0.1.5-main-gha.27122 are vulnerable to Cookie Tossing due to a missing __Host- prefix on the _gitpod_io_jwt2_ session cookie. This allows an adversary who controls a subdomain to set the value of the cookie on the Gitpod control plane, which can be assigned to an attacker’s own JWT so that specific actions taken by the victim (such as connecting a new Github organization) are actioned by the attackers session.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N","score":4.1},"cwes":["CWE-15","CWE-565"],"references":["https://app.safebase.io/portal/71ccd717-aa2d-4a1e-942e-c768d37e9e0c/preview?product=%5B%E2%80%A6%5D942e-c768d37e9e0c&tcuUid=1d505bda-9a38-4ca5-8724-052e6337f34d","https://github.com/gitpod-io/gitpod/commit/da1053e1013f27a56e6d3533aa251dbd241d0155","https://github.com/gitpod-io/gitpod/pull/19973","https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGITPODIOGITPODCOMPONENTSSERVERGOPKGLIB-7452074","https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGITPODIOGITPODCOMPONENTSWSPROXYPKGPROXY-7452075"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:52:42.518321223+00:00"},"epss":{"cve":"CVE-2024-21583","score":0.00597,"percentile":0.48598,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-8pgc-65mj-53h5","url":"https://osv.dev/vulnerability/GHSA-8pgc-65mj-53h5","summary":"github.com/gitpod-io/gitpod vulnerable to Cookie Tossing","modified":"2024-10-31T17:02:51Z","packages":[{"ecosystem":"Go","name":"github.com/gitpod-io/gitpod","purl":"pkg:golang/github.com/gitpod-io/gitpod","ranges":["<=0.8.0"],"fixed":[]}]},{"id":"GO-2024-2997","url":"https://osv.dev/vulnerability/GO-2024-2997","summary":"CVE-2024-21583 in github.com/gitpod-io/gitpod","modified":"2024-09-06T22:27:03.944150Z","packages":[{"ecosystem":"Go","name":"github.com/gitpod-io/gitpod","purl":"pkg:golang/github.com/gitpod-io/gitpod","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/gitpod-io/gitpod/components/server/go","purl":"pkg:golang/github.com/gitpod-io/gitpod/components/server/go","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/gitpod-io/gitpod/components/ws-proxy","purl":"pkg:golang/github.com/gitpod-io/gitpod/components/ws-proxy","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/gitpod-io/gitpod/install/installer","purl":"pkg:golang/github.com/gitpod-io/gitpod/install/installer","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}