Red Hat VEX
RHVEX-CVE-2022-23773
golang: cmd/go: misinterpretation of branch names can lead to incorrect access control
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:7 | golang | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | golang-bin | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | golang-docs | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | golang-misc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | golang-src | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | golang-tests | All versions, no fix (out of support scope) |