Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2021-39293

CVE-2021-39293: Golang Go archive/zip DoS Vulnerability

CVE-2021-39293 is a denial of service flaw in Golang Go's archive/zip package that allows crafted archive headers to trigger panic conditions. This article covers technical details, affected versions, and mitigation.

Published: February 25, 2026

CVE-2021-39293 Overview

CVE-2021-39293 is a Denial of Service vulnerability in the Go programming language's archive/zip package. A crafted archive header that falsely designates many files as present can cause a NewReader or OpenReader panic, resulting in application crashes. This vulnerability exists because of an incomplete fix for the previously addressed CVE-2021-33196.

Critical Impact

Applications using Go's archive/zip package to process untrusted ZIP files can be crashed by maliciously crafted archives, causing service disruption.

Affected Products

  • Golang Go versions before 1.16.8
  • Golang Go versions 1.17.x before 1.17.1
  • NetApp Cloud Insights Telegraf

Discovery Timeline

  • 2022-01-24 - CVE-2021-39293 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-39293

Vulnerability Analysis

This vulnerability falls under CWE-770 (Allocation of Resources Without Limits or Throttling). The archive/zip package in Go fails to properly validate archive headers when processing ZIP files. An attacker can create a malicious ZIP file with a header that claims to contain an extremely large number of files. When the NewReader or OpenReader functions attempt to process this crafted archive, they trigger a panic condition instead of gracefully handling the invalid input.

The vulnerability is particularly concerning because it represents an incomplete fix for CVE-2021-33196, indicating that the original patch did not fully address all attack vectors related to malicious archive header manipulation. This enables network-based attackers to cause denial of service conditions without requiring any authentication or user interaction.

Root Cause

The root cause is improper resource allocation handling in the ZIP archive parsing logic. When the archive/zip package reads a ZIP file header, it allocates resources based on the declared number of files in the archive without adequate validation. A maliciously crafted header can specify an unreasonably large file count, leading to uncontrolled resource allocation that triggers a panic condition in the Go runtime.

Attack Vector

An attacker can exploit this vulnerability by providing a specially crafted ZIP file to any application using vulnerable versions of Go's archive/zip package. The attack requires no authentication and can be executed remotely over the network. Common attack scenarios include:

  • Uploading malicious ZIP files to web applications that process user-uploaded archives
  • Sending crafted archives to services that automatically extract or inspect ZIP files
  • Targeting automated build systems or CI/CD pipelines that process external archives

The vulnerability does not require user interaction beyond the application processing the malicious file. For detailed technical information, see the Golang Announcement.

Detection Methods for CVE-2021-39293

Indicators of Compromise

  • Application crashes or panics when processing ZIP files
  • Unexpected service restarts in Go-based applications handling archive files
  • Log entries indicating panic conditions in archive/zip package functions
  • Error messages referencing NewReader or OpenReader panic states

Detection Strategies

  • Monitor application logs for Go runtime panic messages related to archive/zip operations
  • Implement file validation checks before passing archives to vulnerable functions
  • Deploy intrusion detection rules to identify abnormally structured ZIP file headers
  • Track application stability metrics for services that process user-supplied archives

Monitoring Recommendations

  • Enable verbose logging for archive processing operations in Go applications
  • Monitor system resources for unusual memory allocation patterns during ZIP processing
  • Set up alerts for application crash patterns indicative of DoS attacks
  • Review uploaded files for suspicious archive header characteristics

How to Mitigate CVE-2021-39293

Immediate Actions Required

  • Upgrade Go to version 1.16.8 or later for the 1.16.x branch
  • Upgrade Go to version 1.17.1 or later for the 1.17.x branch
  • Recompile all Go applications using vulnerable versions of the standard library
  • Implement input validation for ZIP files before processing

Patch Information

The vulnerability is fixed in Go versions 1.16.8 and 1.17.1. Organizations should update their Go installations and rebuild affected applications. For additional guidance, review the following resources:

  • Golang Announcement
  • NetApp Security Advisory
  • Siemens Security Advisory
  • Debian LTS Notice

Workarounds

  • Implement pre-processing validation of ZIP files to check header integrity before passing to archive/zip functions
  • Deploy application-level rate limiting and size restrictions for archive uploads
  • Use containerization to isolate archive processing and limit impact of panic conditions
  • Consider implementing recovery mechanisms using Go's recover() function around archive processing code
bash
# Verify Go version to ensure patched version is installed
go version
# Expected output should show 1.16.8+, 1.17.1+, or newer

# Rebuild affected applications after Go upgrade
go build -a ./...

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechGolang

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-770
  • Technical References
  • Siemens Security Advisory

  • Golang Announcement

  • Debian LTS Notice

  • NetApp Security Advisory
  • Related CVEs
  • CVE-2025-47911: Go html.Parse DoS Vulnerability

  • CVE-2025-58190: Golang x/net/html DoS Vulnerability

  • CVE-2025-58187: Golang Go DOS Vulnerability

  • CVE-2025-58188: Golang Go DOS 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