The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-23773

CVE-2022-23773: Golang Go Auth Bypass Vulnerability

CVE-2022-23773 is an authentication bypass vulnerability in Golang Go that allows branch names to be misinterpreted as version tags, leading to access control issues. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 11, 2026

CVE-2022-23773 Overview

A vulnerability exists in the cmd/go component of the Go programming language where branch names can be misinterpreted as version tags. This interpretation flaw affects Go versions before 1.16.14 and 1.17.x versions before 1.17.7. The vulnerability allows attackers to bypass access control mechanisms by crafting branch names that falsely appear to be version tags, potentially enabling unauthorized code distribution through Go module systems.

Critical Impact

This access control bypass can allow actors with branch creation permissions to effectively create what appears to be version tags, circumventing security policies that restrict tag creation privileges.

Affected Products

  • Golang Go (versions before 1.16.14, and 1.17.x before 1.17.7)
  • NetApp BeeGFS CSI Driver
  • NetApp Cloud Insights Telegraf Agent
  • NetApp Kubernetes Monitoring Operator
  • NetApp StorageGRID

Discovery Timeline

  • 2022-02-11 - CVE CVE-2022-23773 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-23773

Vulnerability Analysis

This vulnerability falls under CWE-436 (Interpretation Conflict), where the Go toolchain incorrectly interprets specially crafted branch names as version tags. In Go's module system, version tags follow semantic versioning conventions (e.g., v1.2.3) and are typically protected by stricter access controls than branch names. However, the cmd/go component fails to properly distinguish between legitimate version tags and branch names that are formatted to appear as version tags.

When a repository is fetched or a module is resolved, the Go toolchain may accept a branch name that mimics a version tag syntax, treating it as a valid release version. This creates an access control gap where users who only have permission to create branches (but not tags) can effectively publish what appears to be a tagged release of a module.

Root Cause

The root cause lies in insufficient validation within the cmd/go module resolution logic. The Go toolchain does not perform adequate verification to ensure that version-like references actually correspond to Git tags rather than branches with similar naming patterns. This interpretation conflict allows the access control boundaries between branch and tag creation permissions to be bypassed.

Attack Vector

This vulnerability is exploitable over the network without requiring authentication or user interaction. An attacker with access to create branches in a Go module repository can:

  1. Create a branch with a name that resembles a semantic version tag (e.g., v1.0.0)
  2. Push malicious code to this branch
  3. When users or automated systems attempt to fetch the specific version, the Go toolchain may resolve the branch as if it were a legitimate tagged release
  4. This allows distribution of unauthorized or malicious code under the guise of an official release

The attack exploits the trust model where version tags are assumed to represent vetted, official releases while branches may have looser contribution requirements.

Detection Methods for CVE-2022-23773

Indicators of Compromise

  • Unexpected module resolutions pointing to branches instead of tags in build logs
  • Git repositories containing branches with names matching semantic versioning patterns (e.g., v1.0.0, v2.3.1)
  • Module proxy cache entries where the resolved reference is a branch rather than a tag
  • Discrepancies between expected module checksums and actual downloaded content

Detection Strategies

  • Audit Go module dependencies using go mod verify to detect checksum mismatches
  • Implement pre-commit hooks that prevent branch names matching version tag patterns
  • Monitor CI/CD build logs for unusual module resolution behavior
  • Compare resolved module versions against known legitimate tag references in source repositories

Monitoring Recommendations

  • Enable verbose logging for Go module operations (GODEBUG=modget=1)
  • Monitor Go module proxy logs for requests resolving to branch references
  • Implement alerts for module dependency changes in production environments
  • Regularly audit go.sum files for unexpected entries or modifications

How to Mitigate CVE-2022-23773

Immediate Actions Required

  • Upgrade Go to version 1.16.14 or later for the 1.16.x series
  • Upgrade Go to version 1.17.7 or later for the 1.17.x series
  • Review existing module dependencies for any potentially compromised versions
  • Verify module checksums against trusted sources using go mod verify

Patch Information

The vulnerability is addressed in Go versions 1.16.14 and 1.17.7. Users should upgrade to these versions or later to receive the fix. For detailed patch information, refer to the Google Group Announcement. Additional security advisories are available from Gentoo GLSA 202208-02, NetApp Security Advisory, and Oracle CPU July 2022.

Workarounds

  • Enforce strict branch naming policies that prohibit version-like patterns at the repository level
  • Use GOPRIVATE or GOPROXY settings to control module resolution sources
  • Implement repository-level protections to prevent creation of branches matching v* patterns
  • Pin module dependencies to specific commits rather than version tags in sensitive environments
bash
# Configuration example
# Verify Go module checksums to detect tampering
go mod verify

# Check current Go version
go version

# Upgrade Go using package manager (example for Linux)
sudo apt-get update && sudo apt-get install golang-go

# Set GOPROXY to use trusted module proxy
export GOPROXY=https://proxy.golang.org,direct

# Enable verbose module debugging
export GODEBUG=modget=1

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechGolang

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-436
  • Technical References
  • Gentoo GLSA 202208-02

  • NetApp Security Advisory

  • Oracle CPU July 2022 Alert
  • Vendor Resources
  • Google Group Announcement
  • Related CVEs
  • CVE-2025-68121: Golang Go Auth Bypass Vulnerability

  • CVE-2024-45337: Go SSH Library Auth Bypass Vulnerability

  • CVE-2021-29923: Golang Go Auth Bypass Vulnerability

  • CVE-2025-47911: Go html.Parse DoS Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English