Advisory

GO-2022-0318

Also known as: BIT-golang-2022-23773, CVE-2022-23773

Summary

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.

Severity

Not rated by the source.

Dates

Published
2022-08-01 22:20 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

toolchain

Go · All systems

Affected

  • introduced 0, fixed 1.16.14, introduced 1.17.0-0, fixed 1.17.7 (semver)

Fixed versions

1.16.14, 1.17.7

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences