Go Vulnerability Database
GO-2024-3295
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
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/cli/go-gh | All versions, no fix listed |
| Go | github.com/cli/go-gh/v2 | All versions before 2.11.1 (fixed in 2.11.1) |
References
- https://github.com/cli/go-gh/security/advisories/GHSA-55v3-xh23-96gh
- https://docs.github.com/en/apps/using-github-apps/reviewing-and-revoking-authorization-of-github-apps#reviewing-your-authorized-github-apps
- https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/reviewing-your-security-log
- 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
- https://docs.github.com/en/enterprise-cloud@latest/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens
- https://github.com/cli/go-gh/blob/71770357e0cb12867d3e3e288854c0aa09d440b7/pkg/auth/auth.go#L73-L77