CVE-2024-21583
published medium CVSS 3.1 · 4.1github.com/gitpod-io/gitpod/components/server/go/pkg/lib vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | github.com/gitpod-io/gitpod/components/server/go/pkg/lib0 to < main-gha.27122 | Affected | Not stated | snyk |
| n/a | — | github.com/gitpod-io/gitpod/components/ws-proxy/pkg/proxy0 to < main-gha.27122 | Affected | Not stated | snyk |
| n/a | — | github.com/gitpod-io/gitpod/install/installer/pkg/components/auth0 to < main-gha.27122 | Affected | Not stated | snyk |
| n/a | — | github.com/gitpod-io/gitpod/install/installer/pkg/components/public-api-server0 to < main-gha.27122 | Affected | Not stated | snyk |
| n/a | — | github.com/gitpod-io/gitpod/install/installer/pkg/components/server0 to < main-gha.27122 | Affected | Not stated | snyk |
| n/a | — | @gitpod/gitpod-protocol0 to < 0.1.5-main-gha.27122 | Affected | Not stated | snyk |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.1 / 10
- Severity
- medium
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N/E:P
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | github.com/gitpod-io/gitpod/components/server/go/pkg/lib | 0 to < main-gha.27122 (affected · semver) | snyk · cna |
| n/a | github.com/gitpod-io/gitpod/components/ws-proxy/pkg/proxy | 0 to < main-gha.27122 (affected · semver) | snyk · cna |
| n/a | github.com/gitpod-io/gitpod/install/installer/pkg/components/auth | 0 to < main-gha.27122 (affected · semver) | snyk · cna |
| n/a | github.com/gitpod-io/gitpod/install/installer/pkg/components/public-api-server | 0 to < main-gha.27122 (affected · semver) | snyk · cna |
| n/a | github.com/gitpod-io/gitpod/install/installer/pkg/components/server | 0 to < main-gha.27122 (affected · semver) | snyk · cna |
| n/a | @gitpod/gitpod-protocol | 0 to < 0.1.5-main-gha.27122 (affected · semver) | snyk · cna |
Weaknesses
2- CWE-15 Cookie Tossing
- CWE-565 CWE-565 Reliance on Cookies without Validation and Integrity Checking
References
9- 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
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGITPODIOGITPODINSTALLINSTALLERPKGCOMPONENTSAUTH-7452076
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGITPODIOGITPODINSTALLINSTALLERPKGCOMPONENTSPUBLICAPISERVER-7452077
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGITPODIOGITPODINSTALLINSTALLERPKGCOMPONENTSSERVER-7452078
- https://security.snyk.io/vuln/SNYK-JS-GITPODGITPODPROTOCOL-7452079
Provider assertions
3snyk · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e60fad8b9b7da02a3d89f11764987339bb9798aeaa4dec6c61bcec3177ddf212
- Ingested
- 23 Sep 2026, 08:19:02 UTC
- Source record
- Official CVE record