The latest tagged release. There are no long-lived release branches, so a fix ships in the next tag rather than being backported.
Use GitHub's private vulnerability reporting on this repository (Security → Report a vulnerability). It stays private until a fix ships.
Please do not open a public issue for a suspected vulnerability first.
Client.Releases,ReleaseNotes,ReleasesBetween:owner,repoandtagmay come from a manifest or a user. They must not move the request URL (ValidRepo, tag escaping), and a refused name makes no request.FetchReleases,ReleaseNotes: the API answer is untrusted JSON. A body is read capped (8 MiB, 1 MiB for notes) and must not panic the decoder (FuzzFetchReleases).Auth.Apply: the token goes only to httpsgithub.comorapi.github.com; a redirect to plain http is refused, and the token is never in an error.ZipNames: a remote zip's directory is untrusted; only the central directory is read.- Cache files: a name that is not a local path under
CacheDiris not read or written (go-safefsdiskcache).
- Choosing which asset to download and verifying its contents (
Asset.Digestis GitHub's claim, not checked here). - The program named by
Auth.Run: the caller sets it, andGHCLIrunsgh auth tokenonly when asked. - A hostile
APIBaseorHTTPclient: the caller supplies both.