Skip to content
Fencer Vulns
medium 4.1

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

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

Weakness
  • CWE-15 External Control of System or Configuration Setting
  • CWE-565 Reliance on Cookies without Validation and Integrity Checking

References

Sources

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.