# CVE-2022-23773: Incorrect access control in the go command in cmd/go/internal/modfetch

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.68%, higher than 86% of CVEs (2026-12-01)
- Published: 2022-02-11T00:16:08.000Z
- Modified: 2026-09-08T08:47:49.108Z
- Also known as: GO-2022-0318, BIT-GOLANG-2022-23773
- Weaknesses: CWE-436
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- toolchain (Go): before 1.16.14; from 1.17.0-0 before 1.17.7
- golang go: before 1.16.14; from 1.17.0 before 1.17.7
- netapp beegfs_csi_driver: no versions given
- netapp cloud_insights_telegraf_agent: no versions given
- netapp kubernetes_monitoring_operator: no versions given
- netapp storagegrid: no versions given
- golang (Bitnami): before 1.16.14; from 1.17.0 before 1.17.7

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://www.oracle.com/security-alerts/cpujul2022.html> (advisory, third-party-advisory)
- <https://groups.google.com/g/golang-announce/c/SUsQn0aSgPQ> (advisory, release-notes, vendor-advisory, web)
- <https://security.netapp.com/advisory/ntap-20220225-0006/> (advisory, third-party-advisory)
- <https://security.gentoo.org/glsa/202208-02> (advisory, third-party-advisory, vendor-advisory)
- <https://go.dev/cl/378400> (fix)
- <https://go.googlesource.com/go/+/fa4d9b8e2bc2612960c80474fca83a4c85a974eb> (fix)
- <https://go.dev/issue/35671> (report)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-23773> (web)

## Sources

- CVE List: [CVE-2022-23773](https://www.cve.org/CVERecord?id=CVE-2022-23773), CVE Terms of Use, modified 2024-08-03
- Go Vulnerability Database: [GO-2022-0318](https://pkg.go.dev/vuln/GO-2022-0318), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2022-23773](https://nvd.nist.gov/vuln/detail/CVE-2022-23773), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GOLANG-2022-23773](https://osv.dev/vulnerability/BIT-GOLANG-2022-23773), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-23773 · Whole record: https://cve.day/CVE-2022-23773.json · Rebuilt by cve.day 2026-11-25T22:58:09.640Z
