CVE-2024-21583 json
github.com/gitpod-io/gitpod vulnerable to Cookie Tossing
published 2024-07-19 2 y ago modified 2026-06-17 4 mo ago also GHSA-8pgc-65mj-53h5 , GO-2024-2997 , EUVD-2024-2303
- cvss
- 4.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 48%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- n/a github.com/gitpod-io/gitpod/components/server/go/pkg/lib main-gha.27122
- n/a github.com/gitpod-io/gitpod/components/ws-proxy/pkg/proxy main-gha.27122
- n/a github.com/gitpod-io/gitpod/install/installer/pkg/components/auth main-gha.27122
- n/a github.com/gitpod-io/gitpod/install/installer/pkg/components/public-api-server main-gha.27122
- n/a github.com/gitpod-io/gitpod/install/installer/pkg/components/server main-gha.27122
- n/a @gitpod/gitpod-protocol 0.1.5-main-gha.27122
- github.com/gitpod-io/gitpod@da1053e commit
- github.com/gitpod-io/gitpod#19973 pull request
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.60% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N/E:P |
| CNA | 3.1 | 4.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N |
| GitHub | 3.1 | 4.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/gitpod-io/gitpod | <=0.8.0 all versions |
no fix listed |
| go | github.com/gitpod-io/gitpod/components/server/go | all versions |
no fix listed |
| go | github.com/gitpod-io/gitpod/components/ws-proxy | all versions |
no fix listed |
| go | github.com/gitpod-io/gitpod/install/installer | all versions |
no fix listed |
Affected products
- n/a github.com/gitpod-io/gitpod/components/server/go/pkg/lib
- n/a github.com/gitpod-io/gitpod/components/ws-proxy/pkg/proxy
- n/a github.com/gitpod-io/gitpod/install/installer/pkg/components/auth
- n/a github.com/gitpod-io/gitpod/install/installer/pkg/components/public-api-server
- n/a github.com/gitpod-io/gitpod/install/installer/pkg/components/server
- n/a @gitpod/gitpod-protocol
Classification
References
-
github.com
/gitpod-io/gitpod/pull/19973
web, patch
-
github.com
/gitpod-io/gitpod/commit/da1053e1013f27a56e6d3533aa251dbd241d0155
web, patch
-
security.snyk.io
/vuln/SNYK-GOLANG-GITHUBCOMGITPODIOGITPODCOMPONENTSSERVERGOPKGLIB-7452074
web
-
security.snyk.io
/vuln/SNYK-GOLANG-GITHUBCOMGITPODIOGITPODCOMPONENTSWSPROXYPKGPROXY-7452075
web
-
security.snyk.io
/vuln/SNYK-GOLANG-GITHUBCOMGITPODIOGITPODINSTALLINSTALLERPKGCOMPONENTSAUTH-7452076
web
-
security.snyk.io
/vuln/SNYK-GOLANG-GITHUBCOMGITPODIOGITPODINSTALLINSTALLERPKGCOMPONENTSPUBLICAPISERVER-7452077
web
-
security.snyk.io
/vuln/SNYK-GOLANG-GITHUBCOMGITPODIOGITPODINSTALLINSTALLERPKGCOMPONENTSSERVER-7452078
web
-
security.snyk.io
/vuln/SNYK-JS-GITPODGITPODPROTOCOL-7452079
web
-
app.safebase.io
/portal/71ccd717-aa2d-4a1e-942e-c768d37e9e0c/preview?product=%5B%E2%80%A6%5D942e-c768d37e9e0c&tcuUid=1d505bda-
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-21583
advisory
-
github.com
/gitpod-io/gitpod
package
-
pkg.go.dev
/vuln/GO-2024-2997
web
Sources
- CVE List CVE-2024-21583
- GitHub Advisory GHSA-8pgc-65mj-53h5
- NVD CVE-2024-21583
- OSV GO-2024-2997
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.