PT-2024-18969 · Gitpod · Gitpod
Elliot Ward
·
Published
2024-07-19
·
Updated
2024-10-31
·
CVE-2024-21583
CVSS v4.0
5.1
Medium
| Vector | AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
github.com/gitpod-io/gitpod/components/server/go/pkg/lib versions before main-gha.27122
github.com/gitpod-io/gitpod/components/ws-proxy/pkg/proxy versions before main-gha.27122
github.com/gitpod-io/gitpod/install/installer/pkg/components/auth versions before main-gha.27122
github.com/gitpod-io/gitpod/install/installer/pkg/components/public-api-server versions before main-gha.27122
github.com/gitpod-io/gitpod/install/installer/pkg/components/server versions before main-gha.27122
@gitpod/gitpod-protocol versions before 0.1.5-main-gha.27122
Description
The issue is due to a missing Host- prefix on the
gitpod io jwt2 session cookie, allowing an adversary who controls a subdomain to set the value of the cookie on the Gitpod control plane. This can be assigned to an attacker's own JWT, enabling them to perform specific actions taken by the victim, such as connecting a new Github organization.Recommendations
For github.com/gitpod-io/gitpod/components/server/go/pkg/lib versions before main-gha.27122, update to a version after main-gha.27122.
For github.com/gitpod-io/gitpod/components/ws-proxy/pkg/proxy versions before main-gha.27122, update to a version after main-gha.27122.
For github.com/gitpod-io/gitpod/install/installer/pkg/components/auth versions before main-gha.27122, update to a version after main-gha.27122.
For github.com/gitpod-io/gitpod/install/installer/pkg/components/public-api-server versions before main-gha.27122, update to a version after main-gha.27122.
For github.com/gitpod-io/gitpod/install/installer/pkg/components/server versions before main-gha.27122, update to a version after main-gha.27122.
For @gitpod/gitpod-protocol versions before 0.1.5-main-gha.27122, update to version 0.1.5-main-gha.27122 or later.
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Gitpod