CVE-2022-23773
golang: cmd/go: misinterpretation of branch names can lead to incorrect access control
Overview
Description
cmd/go in Go before 1.16.14 and 1.17.x before 1.17.7 can misinterpret branch names that falsely appear to be version tags. This can lead to incorrect access control if an actor is supposed to be able to create branches but not tags.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness: CWE-436
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | golang | <1.16.14>=1.17.0, <1.17.7 | 1.16.141.17.7 |
Open a package to see all its vulnerabilities.
Operating systems · 69 fixes
Oracle Linux 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | go-toolset +7 | 1.17.7-1.module+el8.6.0+20559+3b94dc2a |
| 8 | delve | 1.7.2-1.0.1.module+el8.6.0+20559+3b94dc2a |
Photon OS 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | go | 1.17.2-3.ph4 |
| 4.0 | kubernetes-dashboard | 2.7.0-1.ph4 |
Red Hat 3 releases · 39 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | golang +17 | eol | — |
| 7 | cri-tools | 0:1.23.0-1.1.el7 | RHSA-2022:5729 |
| 7 | cri-o | 0:1.23.3-11.rhaos4.10.gitddf4b1a.1.el7 | RHSA-2022:5729 |
| 7 | cri-o | 0:1.23.3-13.rhaos4.10.git6af791c.1.el7 | RHSA-2022:6094 |
| 7 | openshift-hyperkube | 0:4.10.0-202207192015.p0.g012e945.assembly.stream.el7 | RHSA-2022:5729 |
| 7 | openshift-clients +1 | 0:4.10.0-202207192015.p0.g45460a5.assembly.stream.el7 | RHSA-2022:5729 |
45 more rows
alma 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 (go-toolset:rhel8) | go-toolset +7 | 1.17.7-1.module_el8.6.0+2736+ec10aba8 |
| 8 (go-toolset:rhel8) | delve | 1.7.2-1.module_el8.6.0+2736+ec10aba8 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | go | 1.17.7-r0 |
| 3.23 | go | 1.17.7-r0 |
| 3.24 | go | 1.17.7-r0 |
| edge | go | 1.17.7-r0 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | golang +7 | 1.19.8-1.amzn2023.0.1 |
debian 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | golang-1-11 | affected |
| 11 | golang-1-15 | 1.15.15-1~deb11u3 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | go1-16 +2 | 1.16.14-1.1 | openSUSE-SU-2024:11843-1 |
| Tumbleweed | go1-17 +2 | 1.17.7-1.1 | openSUSE-SU-2024:11844-1 |
rocky 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | go-toolset +7 | 1.17.7-1.module+el8.6.0+824+8e984c20 |
| 8 (go-toolset:rhel8) | go-toolset +7 | 1.17.7-1.module+el8.6.0+824+8e984c20 |
| 8 (go-toolset:rhel8) | delve | 1.7.2-1.module+el8.6.0+824+8e984c20 |
References
- access.redhat.com https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-38297.json
- access.redhat.com https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-39293.json
- access.redhat.com https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-41771.json
- access.redhat.com https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-41772.json
- access.redhat.com https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-23772.json
- access.redhat.com https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-23773.json
- access.redhat.com https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-23806.json
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-23773
- errata.almalinux.org https://errata.almalinux.org/8/ALSA-2022-1819.html
- groups.google.com https://groups.google.com/g/golang-announce/c/SUsQn0aSgPQ
Show all 17 references
- linux.oracle.com https://linux.oracle.com/cve/CVE-2022-23773.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2022-1819.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-23773
- security.gentoo.org https://security.gentoo.org/glsa/202208-02
- security.netapp.com https://security.netapp.com/advisory/ntap-20220225-0006/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-23773
- www.oracle.com https://www.oracle.com/security-alerts/cpujul2022.html
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.