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
    • 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-28322

CVE-2023-28322: Haxx Curl Information Disclosure Flaw

CVE-2023-28322 is an information disclosure vulnerability in Haxx Curl affecting versions before 8.1.0. The flaw causes libcurl to erroneously use callback data during HTTP transfers. This article covers technical details, impact, and mitigation.

Published: February 11, 2026

CVE-2023-28322 Overview

An information disclosure vulnerability exists in curl versions prior to v8.1.0 when performing HTTP(S) transfers. The vulnerability occurs when libcurl erroneously uses the read callback (CURLOPT_READFUNCTION) to request data to send, even when the CURLOPT_POSTFIELDS option has been set. This behavior manifests when the same handle was previously used to issue a PUT request that utilized that callback. The flaw may cause applications to misbehave, potentially sending incorrect data or accessing memory after it has been freed in subsequent transfers.

Critical Impact

Applications reusing curl handles for HTTP method transitions from PUT to POST may inadvertently leak sensitive data or experience use-after-free conditions due to improper callback handling.

Affected Products

  • Haxx curl (versions prior to 8.1.0)
  • Apple macOS
  • Fedora (versions 37, 38)
  • NetApp Clustered Data ONTAP
  • NetApp ONTAP Antivirus Connector
  • NetApp H300S, H500S, H700S, H410S (firmware and hardware)

Discovery Timeline

  • 2023-05-26 - CVE-2023-28322 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-28322

Vulnerability Analysis

This vulnerability represents an information disclosure issue (CWE-200) that stems from improper state management in libcurl's handle reuse logic. When a curl handle is reused across multiple HTTP requests, the library must properly reset and reconfigure internal state to match the new request type. The flaw occurs specifically in the transition from a PUT request to a POST request when certain callback options are involved.

The problem manifests when an application first performs a PUT request using CURLOPT_READFUNCTION to provide the request body data via a callback, then subsequently reuses the same handle for a POST request configured with CURLOPT_POSTFIELDS to provide static data. Due to the logic error, libcurl may incorrectly invoke the read callback from the previous PUT request instead of using the configured POST fields data.

Root Cause

The root cause lies in the handle reuse logic within libcurl that fails to properly clear or override the read callback configuration when transitioning between HTTP methods. When a handle is configured for a PUT request with CURLOPT_READFUNCTION, this callback registration persists even when the handle is reconfigured for a POST request with CURLOPT_POSTFIELDS. The internal state machine does not properly prioritize the CURLOPT_POSTFIELDS setting over the previously registered callback.

Attack Vector

The vulnerability requires network access and specific application behavior to exploit. An attacker would need to identify applications that:

  1. Reuse curl handles across multiple HTTP requests
  2. Transition from PUT requests using read callbacks to POST requests using post fields
  3. Process the potentially corrupted or leaked data in a security-sensitive context

The exploitation scenario involves the application inadvertently sending data from the wrong source, which could include:

  • Sending stale or freed memory contents as request data
  • Leaking sensitive information from previous requests
  • Causing application crashes due to use-after-free conditions

Since exploitation requires specific application behavior patterns and the vulnerability does not allow direct attacker control, the attack complexity is high. The issue primarily affects confidentiality through potential information exposure.

Detection Methods for CVE-2023-28322

Indicators of Compromise

  • Unexpected HTTP POST request bodies that do not match intended CURLOPT_POSTFIELDS content
  • Application crashes or memory errors during HTTP request processing involving handle reuse
  • Anomalous data patterns in outbound HTTP POST requests following PUT operations

Detection Strategies

  • Monitor applications using libcurl for unexpected memory access patterns during HTTP request handling
  • Implement application-level logging to track curl handle reuse patterns, especially PUT to POST transitions
  • Deploy runtime memory analysis tools to detect potential use-after-free conditions in applications using curl
  • Audit application code for patterns that reuse curl handles across different HTTP methods with mixed callback configurations

Monitoring Recommendations

  • Enable verbose logging in curl-dependent applications to trace HTTP method transitions and callback invocations
  • Implement network-level inspection to detect anomalous or malformed POST request bodies
  • Set up alerts for application errors related to curl handle operations or memory access violations
  • Review system logs for crash reports associated with applications that heavily use libcurl for HTTP operations

How to Mitigate CVE-2023-28322

Immediate Actions Required

  • Upgrade curl to version 8.1.0 or later where this vulnerability has been addressed
  • Audit applications for patterns that reuse curl handles across PUT and POST requests
  • Consider using separate curl handles for different HTTP methods as a temporary mitigation
  • Review and apply vendor-specific patches from Apple, NetApp, Fedora, and other affected vendors

Patch Information

The vulnerability was fixed in curl version 8.1.0. Multiple vendors have released security updates addressing this issue:

  • Apple: Security updates available via Apple Support Article HT213843, HT213844, and HT213845
  • Fedora: Package updates available through Fedora Package Announcement
  • NetApp: Advisory NTAP-20230609-0009 provides guidance for affected products
  • Gentoo: Security advisory GLSA 202310-12 addresses this vulnerability
  • Debian: Updates available per Debian LTS Announcement

Additional technical details are available in the HackerOne Report #1954658.

Workarounds

  • Avoid reusing curl handles when transitioning between PUT and POST requests; create fresh handles for each request type
  • Explicitly reset curl handles using curl_easy_reset() before reconfiguring for a different HTTP method
  • Clear all callback-related options before setting CURLOPT_POSTFIELDS on a reused handle
  • Consider implementing application-level validation to verify request body content matches intended data before transmission
bash
# Verification: Check installed curl version
curl --version

# Update curl on Debian/Ubuntu systems
sudo apt-get update && sudo apt-get install --only-upgrade curl libcurl4

# Update curl on RHEL/Fedora systems
sudo dnf update curl libcurl

# Update curl on macOS via Homebrew
brew upgrade curl

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechHaxx Curl

  • SeverityLOW

  • CVSS Score3.7

  • EPSS Probability0.50%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-200

  • NVD-CWE-noinfo
  • Technical References
  • Full Disclosure Announcement July 2023

  • Full Disclosure Announcement July 2023

  • Full Disclosure Announcement July 2023

  • Debian LTS Announcement December 2023

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Gentoo GLSA 202310-12

  • NetApp Security Advisory NTAP-20230609-0009

  • Apple Support Article HT213843

  • Apple Support Article HT213844

  • Apple Support Article HT213845
  • Vendor Resources
  • HackerOne Report #1954658
  • Related CVEs
  • CVE-2026-3783: Haxx Curl Information Disclosure Vulnerability

  • CVE-2023-46219: Haxx Curl Information Disclosure Flaw

  • CVE-2024-11053: Haxx Curl Information Disclosure Flaw

  • CVE-2024-2398: Haxx Curl Information Disclosure Flaw
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