CVE-2024-21583 github.com/gitpod-io/gitpod vulnerable to Cookie Tossing
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
4 packages: 0 fixed, 1 partially fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| gitpod-io github.com/gitpod-io/gitpod/components/server/go(Go) | All versions | No fix listed | No fix yet |
| gitpod-io github.com/gitpod-io/gitpod/components/ws-proxy(Go) | All versions | No fix listed | No fix yet |
| gitpod-io github.com/gitpod-io/gitpod/install/installer(Go) | All versions | No fix listed | No fix yet |
| gitpod-io github.com/gitpod-io/gitpod(Go) | <= 0.8.0; All versions | after 0.8.0 | Partially fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gitpod-io github.com/gitpod-io/gitpod(Go) | <= 0.8.0 | No fix listed |
| gitpod-io github.com/gitpod-io/gitpod(Go) | All versions | No fix listed |
| gitpod-io github.com/gitpod-io/gitpod/components/server/go(Go) | All versions | No fix listed |
| gitpod-io github.com/gitpod-io/gitpod/components/ws-proxy(Go) | All versions | No fix listed |
| gitpod-io github.com/gitpod-io/gitpod/install/installer(Go) | All versions | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- app.safebase.io
- github.com product
- pkg.go.dev
- security.snyk.io
- security.snyk.io
- security.snyk.io
- security.snyk.io
- security.snyk.io
- security.snyk.io
- github.com