GHSA-8pgc-65mj-53h5

Suggest an improvement
Source
https://github.com/advisories/GHSA-8pgc-65mj-53h5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/07/GHSA-8pgc-65mj-53h5/GHSA-8pgc-65mj-53h5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8pgc-65mj-53h5
Aliases
Published
2024-07-19T06:31:13Z
Modified
2024-09-06T22:27:03.944150Z
Severity
  • 4.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N CVSS Calculator
  • 5.1 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
github.com/gitpod-io/gitpod vulnerable to Cookie Tossing
Details

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

References

Affected packages

Go / github.com/gitpod-io/gitpod

Package

Name
github.com/gitpod-io/gitpod
View open source insights on deps.dev
Purl
pkg:golang/github.com/gitpod-io/gitpod

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.8.0