CVE-2024-21583

State
Published
Severity
4.1 Medium
Published
Jul 19, 2024
Updated
Oct 31, 2024
Reserved
Dec 22, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.1 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N/E:Psnyk

Weaknesses

  • CWE-15 Cookie Tossing
  • CWE-565 Reliance on Cookies without Validation and Integrity Checking

Affected Products

ProductVersions
github.com/gitpod-io/gitpod/components/server/go/pkg/libn/a
  • before main-gha.27122Affected
github.com/gitpod-io/gitpod/components/ws-proxy/pkg/proxyn/a
  • before main-gha.27122Affected
github.com/gitpod-io/gitpod/install/installer/pkg/components/authn/a
  • before main-gha.27122Affected
github.com/gitpod-io/gitpod/install/installer/pkg/components/public-api-servern/a
  • before main-gha.27122Affected
github.com/gitpod-io/gitpod/install/installer/pkg/components/servern/a
  • before main-gha.27122Affected
@gitpod/gitpod-protocoln/a
  • before 0.1.5-main-gha.27122Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.