ADVISORIES

Go Vulnerability Database

GO-2022-0318

Incorrect access control in the go command in cmd/go/internal/modfetch

Details

Incorrect access control is possible in the go command.

The go command can misinterpret branch names that falsely appear to be version tags. This can lead to incorrect access control if an actor is authorized to create branches but not tags.

Affected packages

EcosystemPackageAffected versions
Gotoolchain
All versions before 1.16.14 (fixed in 1.16.14)
From 1.17.0-0 before 1.17.7 (fixed in 1.17.7)

References