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-2004

CVE-2024-2004: Haxx Curl DOS Vulnerability

CVE-2024-2004 is a denial of service flaw in Haxx Curl caused by faulty protocol selection logic that allows disabled protocols to remain active. This article covers the technical details, affected versions, and mitigation.

Published: January 28, 2026

CVE-2024-2004 Overview

CVE-2024-2004 is a protocol selection logic error vulnerability in curl. When a protocol selection parameter option disables all protocols without adding any, the default set of protocols remains in the allowed set due to a logic flaw in the protocol removal code. This could allow requests to proceed using plaintext protocols that were explicitly intended to be disabled.

Critical Impact

A logic error in curl's --proto option processing could allow unintended plaintext protocol usage when attempting to disable all protocols, potentially leading to sensitive information disclosure over insecure connections.

Affected Products

  • Haxx curl (multiple versions)
  • Apple macOS (multiple versions)
  • Fedora Project Fedora 39 and 40
  • NetApp ONTAP 9
  • NetApp ONTAP Select Deploy Administration Utility
  • NetApp Bootstrap OS
  • NetApp HCI Compute Node
  • NetApp H300S, H410S, H500S, H700S firmware and hardware

Discovery Timeline

  • 2024-03-27 - CVE-2024-2004 published to NVD
  • 2025-07-30 - Last updated in NVD database

Technical Details for CVE-2024-2004

Vulnerability Analysis

This vulnerability exists in curl's command-line protocol selection mechanism. When users attempt to use the --proto option to disable all available protocols (for example, using --proto -all,-http), a logic error causes the default protocol set to remain active instead of being properly cleared.

The practical impact is that a command explicitly designed to block all protocols would still permit requests to proceed. For instance, a request to curl --proto -all,-http http://curl.se would complete using the plaintext HTTP protocol despite the user's explicit attempt to disable it.

The curl security team assessed this as a low severity issue because the vulnerable configuration—disabling the entire set of available protocols—represents a command with no practical utility. This scenario is unlikely to occur in real-world applications, as there's no legitimate reason to invoke curl while disabling every supported protocol.

Root Cause

The root cause is an interpretation conflict vulnerability (CWE-436) in curl's protocol selection logic. When processing the --proto parameter, the code fails to properly handle the edge case where all protocols are removed. Instead of resulting in an empty protocol set (which would effectively disable all transfers), the logic erroneously falls back to the default protocol configuration.

This occurs because the protocol removal code checks for an empty result set and interprets it as "no changes specified" rather than "all protocols disabled," leading to the unintended behavior.

Attack Vector

The attack vector is network-based and requires user interaction. An attacker cannot directly exploit this vulnerability remotely. Instead, exploitation would require:

  1. A user or automated script intentionally configuring curl to disable all protocols
  2. The same command also specifying a URL to fetch
  3. The expectation that the request would fail due to no protocols being available

In this scenario, instead of failing, the request would proceed using the default plaintext protocol, potentially exposing sensitive data that the user believed was protected by protocol restrictions. The vulnerability requires authenticated access (low privileges) as curl must be invoked by a user with local system access.

Detection Methods for CVE-2024-2004

Indicators of Compromise

  • Unexpected network traffic using plaintext protocols (HTTP, FTP, etc.) from systems where protocol restrictions were expected
  • curl command invocations containing --proto -all or similar patterns attempting to disable all protocols
  • Configuration files or scripts using curl with -all protocol modifiers combined with plaintext URLs

Detection Strategies

  • Monitor curl command-line usage for --proto options that attempt to remove all protocols using the -all syntax
  • Audit shell scripts and automation workflows for potentially vulnerable curl invocations
  • Review network logs for plaintext HTTP/FTP traffic from systems expected to enforce protocol restrictions

Monitoring Recommendations

  • Implement command-line auditing to log curl executions with --proto parameters
  • Deploy network monitoring to detect plaintext protocol usage from sensitive systems
  • Establish baseline network behavior to identify anomalous unencrypted traffic patterns

How to Mitigate CVE-2024-2004

Immediate Actions Required

  • Update curl to the latest patched version available for your operating system
  • Review scripts and automation that use curl's --proto option for potentially affected configurations
  • Verify that protocol restrictions are working as intended by testing curl configurations

Patch Information

Patches are available from multiple vendors. The official curl security advisory is available at CURL CVE-2024-2004 Documentation. Additional vendor-specific patches include:

  • Apple macOS: Security updates documented in Apple Support Document HT214118, HT214119, and HT214120
  • Fedora: Package updates available via Fedora Package Announcement
  • NetApp: Advisory available at NetApp Security Advisory NTAP-20240524-0006

Workarounds

  • Instead of using --proto -all to disable protocols, explicitly specify only the protocols you want to allow using --proto =https or similar
  • Use network-level controls (firewalls, proxy servers) to enforce protocol restrictions rather than relying solely on curl's --proto option
  • Implement wrapper scripts that validate curl configurations before execution to catch potentially vulnerable patterns
bash
# Recommended: Explicitly allow only specific protocols instead of trying to disable all
# Correct approach - specify allowed protocols with equals sign
curl --proto =https https://example.com

# Avoid: Using -all to disable protocols (vulnerable pattern)
# curl --proto -all,-http http://example.com  # DO NOT USE

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechHaxx Curl

  • SeverityLOW

  • CVSS Score3.5

  • EPSS Probability0.84%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-436
  • Technical References
  • Full Disclosure Post - Jul 18

  • Full Disclosure Post - Jul 19

  • Full Disclosure Post - Jul 20

  • OSS-Security Email - Mar 27

  • HackerOne Report #2384833

  • Fedora Package Announcement Message

  • Fedora Package Announcement Message

  • NetApp Security Advisory NTAP-20240524-0006
  • Vendor Resources
  • CURL CVE-2024-2004 Documentation

  • CURL CVE-2024-2004 JSON Data

  • Apple Support Document HT214118

  • Apple Support Document HT214119

  • Apple Support Document HT214120
  • Related CVEs
  • CVE-2025-5399: Haxx Curl WebSocket DoS Vulnerability

  • CVE-2022-35252: Haxx Curl Cookie DOS Vulnerability

  • CVE-2022-32206: Haxx Curl DOS Vulnerability

  • CVE-2022-32205: Haxx Curl Set-Cookie 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