Security mailing lists by PureSourceCode

CVE-2024-21583

MEDIUM 4.1CVSS 3.1

github.com/gitpod-io/gitpod vulnerable to Cookie Tossing

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.

Published
19 Jul 2024
Last modified
17 Jun 2026
Assigned by
report@snyk.io
NVD status
Deferred
Weakness
CWE-15CWE-565
Also known as
GHSA-8pgc-65mj-53h5GO-2024-2997
Sources
NVDJSONOSV GHSA-8pgc-65mj-53h5JSONOSV GO-2024-2997JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N
NVD report@snyk.io (Secondary) CVSS 3.1 MEDIUM 4.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 4.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/gitpod-io/gitpod <= 0.8.0
OSV Go github.com/gitpod-io/gitpod all versions
OSV Go github.com/gitpod-io/gitpod/components/server/go all versions
OSV Go github.com/gitpod-io/gitpod/components/ws-proxy all versions
OSV Go github.com/gitpod-io/gitpod/install/installer all versions

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 19 Jul 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Jul 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 19 Jul 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.