Vulnerability · Published Jul 19, 2024 · Assigned by snyk

CVE-2024-21583

Medium 4.1

In plain English

A medium-severity security flaw in github.com/gitpod-io/gitpod/components/server/go/pkg/lib. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities).

Severity (CVSS 3.1)4.1Medium
Exploit odds (30 days)0.6%top 51.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/gitpod-io/gitpodno fix listedGHSA-8pgc-65mj-53h5
Gogithub.com/gitpod-io/gitpodno fix listedGO-2024-2997
Gogithub.com/gitpod-io/gitpod/components/server/gono fix listedGO-2024-2997
Gogithub.com/gitpod-io/gitpod/components/ws-proxyno fix listedGO-2024-2997
Gogithub.com/gitpod-io/gitpod/install/installerno fix listedGO-2024-2997

Affected products (as reported)

Weakness: CWE-15, CWE-565 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N/E:P

References