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-2023-45285

CVE-2023-45285: Golang Go Insecure Protocol Vulnerability

CVE-2023-45285 is an insecure protocol fallback flaw in Golang Go that causes go get to use insecure git:// protocol for modules with .git suffix. This post covers technical details, affected versions, and mitigations.

Published: February 11, 2026

CVE-2023-45285 Overview

CVE-2023-45285 is an insecure communication vulnerability in Golang Go that affects the go get command when fetching modules with the .git suffix. When a module is unavailable via secure protocols (https:// and git+ssh://), the Go toolchain may unexpectedly fall back to the insecure git:// protocol, even when the GOINSECURE environment variable is not set for that module. This vulnerability specifically impacts users who have disabled the Go module proxy (GOPROXY=off) and are fetching modules directly from version control systems.

Critical Impact

Attackers performing man-in-the-middle attacks could intercept and modify Go module source code during fetch operations, potentially injecting malicious code into developer environments and build pipelines.

Affected Products

  • Golang Go (versions prior to patch)

Discovery Timeline

  • 2023-12-06 - CVE-2023-45285 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-45285

Vulnerability Analysis

This vulnerability represents a protocol downgrade issue in the Go module fetching mechanism. When developers use go get to retrieve a module with a .git suffix, the toolchain attempts to clone the repository using secure protocols first. However, if both https:// and git+ssh:// protocols fail (due to network issues, misconfiguration, or server-side problems), the system silently falls back to the unencrypted git:// protocol.

The git:// protocol transmits all data in plaintext, making it susceptible to network-level attacks. This is particularly dangerous because developers may be unaware that their module fetches are occurring over an insecure channel, as the GOINSECURE flag was not explicitly set.

Root Cause

The root cause lies in the Go toolchain's module resolution logic for repositories with the .git suffix. The protocol fallback mechanism does not properly respect the implicit security expectations when GOINSECURE is not configured. The logic should only allow insecure protocol usage when explicitly permitted, but instead defaults to attempting git:// as a last resort regardless of the GOINSECURE setting.

Attack Vector

This vulnerability is exploitable via network-based attacks. An attacker positioned to intercept network traffic (man-in-the-middle) could:

  1. Block or disrupt HTTPS and SSH connections to the target Git repository
  2. Wait for the Go toolchain to fall back to the insecure git:// protocol
  3. Intercept the plaintext Git traffic and inject malicious code into the module being fetched
  4. The developer unknowingly receives compromised code that appears to come from the legitimate source

The attack requires the target to be fetching modules directly (GOPROXY=off) and using module paths with the .git suffix. In environments such as corporate networks, public Wi-Fi, or compromised ISP infrastructure, this attack becomes feasible for determined adversaries targeting software supply chains.

Detection Methods for CVE-2023-45285

Indicators of Compromise

  • Unexpected git:// protocol connections in network traffic logs during Go module fetches
  • Module fetch operations completing successfully despite HTTPS/SSH connectivity issues to Git servers
  • Network traffic analysis showing plaintext Git protocol data on port 9418
  • Build logs indicating module retrieval from git:// URLs when GOINSECURE was not configured

Detection Strategies

  • Monitor network traffic for outbound connections using the git:// protocol (typically port 9418) from development machines and CI/CD systems
  • Implement network-level logging and alerting for unencrypted Git protocol usage in environments where Go development occurs
  • Review Go build logs for evidence of protocol fallback behavior during module fetches
  • Deploy endpoint detection to monitor go get command execution and associated network connections

Monitoring Recommendations

  • Configure network firewalls to log and optionally block outbound git:// protocol traffic from development environments
  • Implement SentinelOne Singularity Platform to monitor Go toolchain behavior and detect anomalous network communications
  • Set up alerts for unexpected protocol usage patterns during software build processes
  • Regularly audit GOPROXY and GOINSECURE configurations across development environments

How to Mitigate CVE-2023-45285

Immediate Actions Required

  • Update Golang Go to the latest patched version that addresses this protocol fallback issue
  • Ensure GOPROXY is configured to use the Go module proxy (default behavior) rather than direct fetches
  • Review and audit any .git suffix module dependencies in your Go projects
  • Configure network policies to block outbound git:// protocol connections from build environments

Patch Information

The Go team has released a fix for this vulnerability. Users should update to the latest stable version of Go. For detailed patch information, refer to the Go.dev Change Log and the Go.dev Issue Tracker. Additional details can be found in the Go.dev Vulnerability Notice and the Golang Dev Group Discussion. Fedora users should also check the Fedora Package Announcement for distribution-specific updates.

Workarounds

  • Enable the Go module proxy by removing GOPROXY=off from your environment configuration or explicitly setting GOPROXY=https://proxy.golang.org,direct
  • Use GOINSECURE only for explicitly trusted internal repositories and never for public modules
  • Configure network firewalls to block outbound connections on port 9418 (git protocol) from development and CI/CD systems
  • Consider using SSH-based module fetching with proper key management for private repositories
bash
# Recommended environment configuration to mitigate the vulnerability
# Enable the Go module proxy (default and secure)
export GOPROXY=https://proxy.golang.org,direct

# Ensure GOINSECURE is not set or only includes trusted internal hosts
unset GOINSECURE

# Alternatively, for private repos, use GOPRIVATE with proper Git config
export GOPRIVATE=git.internal.company.com

# Configure Git to always use HTTPS instead of git:// protocol
git config --global url."https://".insteadOf git://

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

  • Vulnerability Details
  • TypeOther

  • 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:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • NVD-CWE-noinfo
  • Technical References
  • Fedora Package Announcement
  • Vendor Resources
  • Go.dev Change Log

  • Go.dev Issue Tracker

  • Golang Dev Group Discussion

  • Go.dev Vulnerability Notice
  • Related CVEs
  • CVE-2025-47906: Golang Go LookPath Handling Vulnerability

  • CVE-2024-24789: Golang Go Archive/Zip File Vulnerability

  • CVE-2021-3114: Golang Go Cryptographic Vulnerability

  • CVE-2025-68121: Golang Go Auth Bypass Vulnerability
Default Legacy - Prefooter | 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