A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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 Information Disclosure Flaw

CVE-2023-45285 is an information disclosure vulnerability in Golang Go where go get may fallback to insecure git:// protocol when fetching modules. This article covers technical details, affected versions, and mitigation.

Updated: May 15, 2026

CVE-2023-45285 Overview

CVE-2023-45285 affects the Go toolchain's module fetching behavior when using go get to retrieve modules with a .git suffix. The Go command may unexpectedly fall back to the insecure git:// protocol when both https:// and git+ssh:// are unavailable, even when GOINSECURE is not configured for the module. This downgrade exposes module fetching to network-level tampering by attackers positioned to intercept traffic. The flaw affects only users who bypass the module proxy by setting GOPROXY=off and fetch modules directly from source repositories.

Critical Impact

An attacker on the network path can serve malicious code through the unencrypted git:// protocol, compromising the integrity of fetched Go modules used in build pipelines.

Affected Products

  • Golang Go (versions prior to the fix in CL 540257)
  • Go installations using GOPROXY=off for direct module fetching
  • Build environments resolving modules with the .git suffix

Discovery Timeline

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

Technical Details for CVE-2023-45285

Vulnerability Analysis

The vulnerability resides in the Go command's repository protocol selection logic. When go get resolves a module path ending in .git, it attempts to fetch the repository over secure transports first. If https:// and git+ssh:// both fail, the command silently falls back to plaintext git://. The fallback bypasses the protections normally provided by the GOINSECURE environment variable, which is intended to gate any opt-in to insecure transports.

The git:// protocol provides no transport encryption and no server authentication. An attacker with network position between the developer and the upstream Git server can inject arbitrary repository contents in response to the clone request. Since Go modules execute developer-controlled build logic, malicious module contents can lead to code execution during dependency resolution or build.

The scope is limited to direct fetch configurations (GOPROXY=off or proxy-bypassing setups). Users relying on the default proxy.golang.org module proxy are not affected because module fetches occur through the proxy rather than directly against version control systems.

Root Cause

The root cause is an insecure default in the protocol negotiation path when the .git suffix is present. The fallback path did not consult GOINSECURE before attempting git://, treating the unencrypted protocol as an acceptable last resort rather than requiring explicit opt-in. This represents a missing access control check on insecure communication [CWE-300 / CWE-319 class behavior].

Attack Vector

Exploitation requires the attacker to be on the network path between the developer or build system and the Git server hosting the module. The attacker must also induce failure of the https:// and git+ssh:// attempts, for example by dropping TLS handshakes or blocking SSH ports. Once the Go command retries with git://, the attacker responds to the unauthenticated clone with a malicious repository. The poisoned module is then compiled and executed as part of the build, achieving supply chain compromise. See the Go Vulnerability Report GO-2023-2383 for the upstream technical description.

Detection Methods for CVE-2023-45285

Indicators of Compromise

  • Outbound TCP connections on port 9418 (git:// default) from developer workstations or build agents
  • go get invocations targeting module paths with a .git suffix in build logs
  • Build environments configured with GOPROXY=off or with the module proxy disabled
  • Unexpected modifications to go.sum entries for modules fetched directly from VCS

Detection Strategies

  • Inspect CI/CD and developer host network telemetry for traffic on TCP/9418 and alert on any occurrence in build pipelines
  • Audit Go environment configuration across build infrastructure for GOPROXY and GOINSECURE settings
  • Compare go.sum hashes against the public checksum database to catch substituted module contents

Monitoring Recommendations

  • Forward Go toolchain output and build agent process telemetry to a central log store for review
  • Alert on Go versions older than the patched release running in production build infrastructure
  • Track changes to dependency manifests (go.mod, go.sum) in version control with mandatory code review

How to Mitigate CVE-2023-45285

Immediate Actions Required

  • Upgrade Go to the patched release that includes CL 540257 addressing Go issue 63845
  • Re-enable the module proxy by unsetting GOPROXY=off and using proxy.golang.org or a trusted internal proxy
  • Block outbound TCP/9418 (git://) at the network egress for developer and build networks
  • Rebuild and re-verify any artifacts produced under vulnerable Go versions using direct VCS fetches

Patch Information

The fix is tracked in the Go project at CL 540257 and issue 63845, with downstream packaging coordinated through the Fedora Package Announcement. Reference details are available in the Go Vulnerability Report GO-2023-2383 and the Golang Dev discussion thread.

Workarounds

  • Set GOPROXY to a trusted module proxy instead of off to avoid the direct VCS fetch path entirely
  • Configure firewall rules to block the git:// protocol on TCP/9418 from build hosts
  • Pin module versions and require checksum verification through GOFLAGS=-mod=readonly and the public checksum database
bash
# Configuration example: enforce secure module fetching
export GOPROXY=https://proxy.golang.org,direct
export GOSUMDB=sum.golang.org
unset GOINSECURE
# Block insecure git protocol at the egress firewall (example iptables rule)
iptables -A OUTPUT -p tcp --dport 9418 -j REJECT

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • 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 Release Note

  • Go.dev Issue Tracker

  • Golang Dev Discussion

  • Go Vulnerability Report
  • Related CVEs
  • CVE-2025-61727: Golang Go Information Disclosure Flaw

  • CVE-2024-24790: Golang Go Information Disclosure Flaw

  • CVE-2023-45287: Golang Go RSA Timing Information Disclosure

  • CVE-2022-30629: Golang Go Information Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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