CVE-2024-21583
Medium 4.1
Follow: this CVE We alert you by email or Slack (account required).
- Priority
- 25
- CVSS 3.1
- 4.1
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 57
- Auth required
- Yes
- Published
- Jul 19, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N
What happens
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.
What to do
- Check whether you run any of the affected products and follow the vendor advisory.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/gitpod-io/gitpod |
≤ 0.8.0 |
no fixed version | — |
| Go | github.com/gitpod-io/gitpod |
all |
no fixed version | — |
| Go | github.com/gitpod-io/gitpod/components/server/go |
all |
no fixed version | — |
| Go | github.com/gitpod-io/gitpod/components/ws-proxy |
all |
no fixed version | — |
| Go | github.com/gitpod-io/gitpod/install/installer |
all |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-8pgc-65mj-53h5, GO-2024-2997). Check the version in your lockfile before upgrading.
Official sources
References
Links published by the sources. Open them with care.