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-2024-24789

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

CVE-2024-24789 is a zip file handling flaw in Golang Go's archive/zip package that could allow attackers to create malicious files with varying contents. This article covers technical details, affected versions, and mitigation.

Published: January 28, 2026

CVE-2024-24789 Overview

CVE-2024-24789 is an Input Validation Error vulnerability in Go's archive/zip package that causes inconsistent handling of certain types of invalid zip files compared to most other zip implementations. This misalignment in parsing behavior can be exploited to create specially crafted zip files with contents that vary depending on which implementation reads the file. The Go archive/zip package has been updated to reject files containing these errors.

Critical Impact

Attackers can craft malicious zip files that appear benign to one zip implementation while containing different or malicious content when parsed by Go applications, potentially enabling security control bypasses and supply chain attacks.

Affected Products

  • Golang Go (multiple versions)

Discovery Timeline

  • 2024-06-05 - CVE CVE-2024-24789 published to NVD
  • 2025-01-31 - Last updated in NVD database

Technical Details for CVE-2024-24789

Vulnerability Analysis

This vulnerability exists in Go's archive/zip package where the handling of certain malformed or invalid zip files differs from the behavior expected by most zip implementations. The core issue is a parsing discrepancy that allows attackers to create zip archives with ambiguous content—files that appear differently depending on which zip implementation processes them.

This type of inconsistency is particularly dangerous in security contexts where zip files may pass through multiple processing stages. For example, a malicious zip file might appear benign when scanned by security tools using one zip implementation, but reveal different (potentially malicious) contents when extracted by a Go application. This creates opportunities for attackers to bypass security controls, deliver malware, or manipulate data in supply chain scenarios.

The vulnerability has a local attack vector requiring user interaction or local access to process the malicious zip file through a vulnerable Go application.

Root Cause

The root cause stems from the archive/zip package's non-standard handling of certain error conditions in zip file structures. When encountering invalid or malformed zip file components, the Go implementation would process these files differently than other common zip implementations (such as those in operating systems or other programming languages). This behavioral divergence creates a parsing ambiguity that can be weaponized by attackers.

Attack Vector

The attack vector involves crafting a zip file that exploits the parsing differences between Go's archive/zip package and other zip implementations. An attacker would:

  1. Create a specially crafted zip file containing structural anomalies or errors
  2. Design the file so that standard zip implementations interpret it one way (potentially passing security checks)
  3. Ensure Go's archive/zip package interprets the same file differently, extracting alternate or malicious content

The vulnerability requires local access to deliver the malicious zip file to a system running a vulnerable Go application that processes zip archives. The vulnerability can result in high integrity impact through content manipulation, though confidentiality and availability impacts are limited.

Detection Methods for CVE-2024-24789

Indicators of Compromise

  • Presence of zip files with unusual structural anomalies or malformed headers being processed by Go applications
  • Discrepancies between expected and actual extracted file contents from zip archives
  • Log entries indicating zip parsing errors followed by successful extraction in Go applications
  • Files extracted from zip archives that don't match hash values or signatures of expected contents

Detection Strategies

  • Monitor Go applications that process zip files for unusual behavior or unexpected file extractions
  • Implement integrity checking to verify extracted zip contents match expected values
  • Use multiple zip implementations to cross-verify archive contents before processing
  • Deploy application-level logging for all zip file processing operations in Go applications

Monitoring Recommendations

  • Enable verbose logging for Go applications handling zip file operations
  • Monitor for anomalies in file extraction patterns and content integrity
  • Implement alerting for zip parsing errors or warnings in application logs
  • Track and inventory all Go applications in your environment that process zip archives

How to Mitigate CVE-2024-24789

Immediate Actions Required

  • Update Go to the latest patched version that includes the fix for CVE-2024-24789
  • Audit all Go applications that use the archive/zip package for zip file processing
  • Implement additional validation of zip file contents after extraction
  • Consider implementing content verification using checksums or signatures

Patch Information

The Go development team has released patches to address this vulnerability. The archive/zip package now properly rejects files containing the structural errors that caused the parsing inconsistency. For detailed patch information, refer to the Go.dev CL 585397 Details and the Go.dev Issue 66869 Report. Additional vulnerability details are available at the Go Vulnerability GO-2024-2888 page.

Workarounds

  • Implement pre-processing validation of zip files using multiple zip implementations before Go processing
  • Add integrity verification layers to validate extracted content against known-good hashes
  • Restrict zip file processing to trusted sources only until patches can be applied
  • Consider using alternative archive formats where zip parsing consistency is critical to security
bash
# Verify Go version and check for vulnerability
go version

# Update Go to latest patched version
# Download from https://go.dev/dl/

# List dependencies using archive/zip in your project
go list -m all | grep -i archive

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechGolang

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • NVD-CWE-noinfo
  • Technical References
  • Openwall OSS Security List

  • Golang Announcement Thread

  • Fedora Package Announcement

  • Go Vulnerability GO-2024-2888

  • NetApp Security Advisory 20250131
  • Vendor Resources
  • Go.dev CL 585397 Details

  • Go.dev Issue 66869 Report
  • Related CVEs
  • CVE-2025-47906: Golang Go LookPath Handling Vulnerability

  • CVE-2023-45285: Golang Go Insecure Protocol 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