GO-2022-0318

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

At a glance

Published
Updated
CVE
CVE-2022-23773
Aliases
BIT-golang-2022-23773

Description

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

PackageVersions
Go · toolchainintroduced 0, fixed 1.16.14, introduced 1.17.0-0, fixed 1.17.7

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database