CVE-2022-23773
golang: cmd/go: misinterpretation of branch names can lead to incorrect access control
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 11, 2022
Updated · August 5, 2026
Description
A flaw was found in the go package of the cmd library in golang. The go command could be tricked into accepting a branch, which resembles a version tag. This issue could allow a remote unauthenticated attacker to bypass security restrictions and introduce invalid or incorrect tags, reducing the integrity of the environment.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CWE-266 · Incorrect Privilege Assignment