{"id":"GO-2024-3295","summary":"Violation of GitHub host security boundary when sourcing authentication token within a codespace in github.com/cli/go-gh","details":"Violation of GitHub host security boundary when sourcing authentication token within a codespace in github.com/cli/go-gh","aliases":["CVE-2024-53859","GHSA-55v3-xh23-96gh"],"modified":"2026-02-04T03:36:21.110984Z","published":"2024-12-12T15:46:49Z","related":["CGA-7v44-739c-wq94"],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2024-3295","review_status":"REVIEWED"},"references":[{"type":"ADVISORY","url":"https://github.com/cli/go-gh/security/advisories/GHSA-55v3-xh23-96gh"},{"type":"WEB","url":"https://docs.github.com/en/apps/using-github-apps/reviewing-and-revoking-authorization-of-github-apps#reviewing-your-authorized-github-apps"},{"type":"WEB","url":"https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/reviewing-your-security-log"},{"type":"WEB","url":"https://docs.github.com/en/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/identifying-audit-log-events-performed-by-an-access-token"},{"type":"WEB","url":"https://docs.github.com/en/enterprise-cloud@latest/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens"},{"type":"WEB","url":"https://github.com/cli/go-gh/blob/71770357e0cb12867d3e3e288854c0aa09d440b7/pkg/auth/auth.go#L73-L77"}],"affected":[{"package":{"name":"github.com/cli/go-gh","ecosystem":"Go","purl":"pkg:golang/github.com/cli/go-gh"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2024-3295.json"}},{"package":{"name":"github.com/cli/go-gh/v2","ecosystem":"Go","purl":"pkg:golang/github.com/cli/go-gh/v2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.11.1"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/cli/go-gh/v2/pkg/auth","symbols":["TokenForHost","tokenForHost"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2024-3295.json"}}],"schema_version":"1.7.3"}