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

CVE-2023-28320: Haxx Curl DOS Vulnerability

CVE-2023-28320 is a denial of service vulnerability in Haxx Curl affecting versions before 8.1.0. A race condition in the synchronous resolver can cause multi-threaded applications to crash. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 4, 2026

CVE-2023-28320 Overview

A denial of service vulnerability exists in curl versions prior to v8.1.0 due to unsafe handling of a global buffer in the synchronous DNS resolver implementation. When libcurl is built to use the synchronous resolver backend, it employs alarm() and siglongjmp() to implement timeouts for slow name resolution operations. However, the global buffer used during this process lacks mutex protection, creating a race condition that can cause multi-threaded applications to crash or exhibit undefined behavior.

Critical Impact

Multi-threaded applications using libcurl with the synchronous resolver may experience application crashes or unpredictable behavior due to race conditions in unprotected global buffer access during DNS resolution timeouts.

Affected Products

  • haxx curl (versions prior to 8.1.0)
  • apple macos (multiple versions)
  • netapp clustered_data_ontap
  • netapp ontap_antivirus_connector
  • netapp h300s_firmware
  • netapp h500s_firmware
  • netapp h700s_firmware
  • netapp h410s_firmware

Discovery Timeline

  • 2023-05-26 - CVE-2023-28320 published to NVD
  • 2025-01-15 - Last updated in NVD database

Technical Details for CVE-2023-28320

Vulnerability Analysis

This vulnerability stems from a thread-safety issue in libcurl's synchronous DNS resolver implementation. The libcurl library supports multiple backend resolvers that can be selected at build time, including synchronous and asynchronous options. When the synchronous resolver is configured, libcurl implements a timeout mechanism for slow DNS lookups using POSIX signals (alarm() combined with siglongjmp()).

The core problem lies in the use of a global buffer during the signal-based timeout handling. In multi-threaded applications, multiple threads may attempt DNS resolution simultaneously. Without proper mutex protection around the global buffer, concurrent access from multiple threads creates a classic race condition scenario. This can lead to memory corruption, application crashes, or other undefined behavior when threads interfere with each other's resolver operations.

The vulnerability is classified under CWE-362 (Concurrent Execution using Shared Resource with Improper Synchronization) and CWE-400 (Uncontrolled Resource Consumption), reflecting both the race condition nature and its denial of service impact.

Root Cause

The root cause is the absence of mutex protection for a global buffer used by libcurl's synchronous resolver during signal-based timeout handling. When siglongjmp() is invoked to handle a timeout triggered by alarm(), the global buffer state may be accessed or modified by multiple threads simultaneously, violating thread-safety requirements. This architectural oversight only affects builds using the synchronous resolver backend, as asynchronous resolver implementations handle concurrency differently.

Attack Vector

The vulnerability can be exploited through network-based interactions that trigger DNS resolution in multi-threaded applications. An attacker could craft scenarios that cause prolonged DNS lookups, increasing the likelihood of timeout conditions occurring across multiple threads simultaneously. The network attack vector requires the attacker to influence DNS resolution timing, which could be achieved through:

  • Slow or unresponsive DNS servers
  • Network latency manipulation
  • DNS server responses that trigger edge cases in resolver handling

The exploitation does not require user interaction or special privileges, though the attack complexity is considered high as successful exploitation depends on precise timing of concurrent operations.

Detection Methods for CVE-2023-28320

Indicators of Compromise

  • Unexpected application crashes in multi-threaded services using libcurl for HTTP operations
  • Core dumps showing crashes in DNS resolver-related functions within libcurl
  • Intermittent service availability issues correlated with DNS resolution activity
  • Memory corruption signatures in crash reports pointing to resolver buffer operations

Detection Strategies

  • Monitor application logs for crash patterns associated with DNS timeout handling
  • Implement crash dump analysis to identify libcurl resolver-related stack traces
  • Deploy application stability monitoring to detect intermittent crashes in curl-dependent services
  • Audit build configurations to identify systems using libcurl's synchronous resolver backend

Monitoring Recommendations

  • Enable enhanced logging for DNS resolution operations in affected applications
  • Monitor system stability metrics for services dependent on libcurl
  • Track application restart frequency as an indicator of potential exploitation attempts
  • Review network traffic patterns for anomalous DNS resolution behavior

How to Mitigate CVE-2023-28320

Immediate Actions Required

  • Upgrade curl/libcurl to version 8.1.0 or later on all affected systems
  • Apply vendor-specific patches from Apple, NetApp, and other affected vendors
  • Review build configurations to identify systems using the synchronous resolver backend
  • Consider rebuilding libcurl with an asynchronous resolver backend as an interim measure

Patch Information

The vulnerability has been addressed in curl version 8.1.0 and later. Multiple vendors have released security updates to address this issue:

  • Apple: Security updates HT213843, HT213844, and HT213845 for macOS
  • NetApp: Advisory NTAP-20230609-0009 for Clustered Data ONTAP and related products
  • Gentoo: GLSA 202310-12 security advisory

The original vulnerability report is available on HackerOne Report #1929597.

Workarounds

  • Rebuild libcurl using an asynchronous resolver backend (c-ares or threaded resolver) instead of the synchronous resolver
  • Implement application-level DNS caching to reduce resolver invocations
  • Limit concurrent DNS resolution operations through application-level rate limiting
  • Deploy process isolation to contain potential crashes and prevent service-wide outages
bash
# Configuration example - Check current curl build configuration
curl --version
# Look for resolver information in the Features line

# Rebuild curl with c-ares for async resolver support
./configure --enable-ares
make
make install

# Verify the new configuration includes c-ares
curl --version | grep -i "AsynchDNS"

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechCurl

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability0.21%

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

  • CWE-362
  • Technical References
  • Full Disclosure Post July 47

  • Full Disclosure Post July 48

  • Full Disclosure Post July 52

  • Gentoo GLSA 202310-12

  • NetApp Security Advisory NTAP-20230609-0009

  • Apple Security Update HT213843

  • Apple Security Update HT213844

  • Apple Security Update HT213845
  • Vendor Resources
  • HackerOne Report #1929597
  • Related CVEs
  • CVE-2023-38039: Haxx Curl DOS Vulnerability

  • CVE-2025-11563: Curl Wcurl Path Traversal Vulnerability

  • CVE-2022-42916: Haxx Curl HSTS Auth Bypass Vulnerability

  • CVE-2025-15224: curl SSH 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