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-2021-22924

CVE-2021-22924: Haxx Libcurl Connection Reuse Vulnerability

CVE-2021-22924 is a connection reuse flaw in Haxx Libcurl caused by case-insensitive path comparison and missing issuer cert checks, potentially allowing wrong connection reuse. This article covers the issue details.

Published: February 25, 2026

CVE-2021-22924 Overview

CVE-2021-22924 is a certificate validation bypass vulnerability in libcurl's connection pooling mechanism. The vulnerability exists because libcurl's config matching function improperly handles certificate issuer path comparisons when determining whether a cached connection can be reused for subsequent transfers. Due to errors in the logic, the matching function did not take the 'issuercert' option into account and performed case-insensitive path comparisons, which could lead to libcurl reusing connections with incorrect security contexts.

Critical Impact

This vulnerability could allow an attacker to cause libcurl to reuse connections that were validated against different certificate issuers, potentially enabling man-in-the-middle attacks or connections to unintended servers.

Affected Products

  • Haxx libcurl (multiple versions)
  • Oracle MySQL Server
  • Oracle PeopleSoft Enterprise PeopleTools 8.57, 8.58, 8.59
  • Siemens SINEC Infrastructure Network Services
  • Siemens SINEMA Remote Connect Server
  • Siemens SCALANCE industrial routers (M804PB, M812-1, M816-1, M826-2, M874-2, M874-3, M876-3, M876-4, MUM856-1, S615)
  • Siemens SIMATIC CP 1543-1, CP 1545-1
  • Siemens SIMATIC RTU series (RTU3010C, RTU3030C, RTU3031C, RTU 3041C)
  • NetApp Cloud Backup, Clustered Data ONTAP
  • Splunk Universal Forwarder
  • Debian Linux 9.0, 10.0, 11.0
  • Fedora 33

Discovery Timeline

  • 2021-08-05 - CVE-2021-22924 published to NVD
  • 2025-06-09 - Last updated in NVD database

Technical Details for CVE-2021-22924

Vulnerability Analysis

The vulnerability resides in libcurl's connection pool management system, which maintains previously used connections for reuse in subsequent transfers. When a new request is made, libcurl checks if any existing pooled connection matches the required configuration to determine if it can be reused. This vulnerability is classified under CWE-20 (Improper Input Validation) and CWE-706 (Use of Incorrectly-Resolved Name or Reference).

The core issue stems from the config matching function's failure to properly validate the issuercert option when comparing connection configurations. Additionally, the function performs case-insensitive comparisons on file paths, which is problematic because file paths are case-sensitive on many systems (particularly Unix-like operating systems) and may even vary depending on the file system in use.

Root Cause

The root cause is a logic error in the connection matching algorithm that fails to include the certificate issuer (issuercert) in the comparison criteria. When libcurl attempts to reuse a pooled connection, it should verify that all security-relevant parameters match, including the certificate issuer path. The omission of this check means that a connection validated against one issuer certificate could be incorrectly reused for a transfer that specifies a different issuer certificate.

Furthermore, the case-insensitive path comparison creates additional security issues on case-sensitive file systems. For example, paths like /path/to/Issuer.crt and /path/to/issuer.crt would be considered equivalent by the matching function, even though they reference different files on Unix systems.

Attack Vector

This vulnerability can be exploited over the network when an application uses libcurl with connection pooling enabled (the default behavior). An attacker who can influence the order or timing of network requests, or who controls a server that the victim application connects to, may be able to cause the application to reuse a connection that was established with different security parameters.

The attack scenario requires specific conditions: the victim application must make multiple TLS connections using different issuercert configurations, and the attacker must be able to influence which connection gets reused. While exploitation is complex due to the high attack complexity required, successful exploitation could lead to information disclosure by causing the application to communicate over a connection that was validated against the wrong certificate issuer.

Detection Methods for CVE-2021-22924

Indicators of Compromise

  • Unexpected TLS certificate validation behavior in applications using libcurl
  • Log entries showing connection reuse with mismatched certificate issuer paths
  • Applications establishing connections to unintended servers due to connection pool confusion
  • Network traffic patterns showing reused connections where certificate parameters differ

Detection Strategies

  • Monitor applications using libcurl for unexpected certificate validation warnings or errors
  • Implement network monitoring to detect TLS connections that may be reusing sessions inappropriately
  • Review application logs for evidence of connection pool anomalies
  • Use vulnerability scanning tools to identify systems running affected libcurl versions

Monitoring Recommendations

  • Enable verbose logging in libcurl-based applications to track connection pool behavior
  • Deploy network intrusion detection systems (NIDS) rules to monitor for anomalous TLS session reuse patterns
  • Implement asset inventory to track all systems using affected libcurl versions and downstream products

How to Mitigate CVE-2021-22924

Immediate Actions Required

  • Update libcurl to the latest patched version available for your platform
  • Review all applications and products that bundle or depend on libcurl for available security updates
  • Consult vendor-specific security advisories from Siemens, Oracle, NetApp, and other affected vendors
  • Temporarily disable connection pooling in libcurl if updates cannot be immediately applied (use CURLOPT_FRESH_CONNECT)

Patch Information

Multiple vendors have released security updates addressing this vulnerability. Refer to the following advisories for platform-specific guidance:

  • Siemens Security Advisory SSA-389290
  • Siemens Security Advisory SSA-484086
  • Siemens Security Advisory SSA-732250
  • Oracle CPU October 2021
  • Oracle CPU January 2022
  • NetApp Security Advisory NTAP-20210902-0003
  • Debian Security Advisory DSA-5197

Workarounds

  • Force fresh connections by setting CURLOPT_FRESH_CONNECT to disable connection reuse
  • Ensure consistent case usage in certificate issuer paths across all libcurl-based requests
  • Implement application-level validation of certificate issuers independent of libcurl's connection pooling
  • Isolate applications using different certificate configurations to prevent connection pool sharing
bash
# Configuration example - Force fresh connections in curl command line
curl --no-keepalive https://example.com

# In code, set CURLOPT_FRESH_CONNECT to 1L to disable connection reuse
# CURLOPT_FRESH_CONNECT = 1L

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechHaxx Libcurl

  • SeverityLOW

  • CVSS Score3.7

  • EPSS Probability0.75%

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

  • CWE-706
  • Technical References
  • Siemens Security Advisory SSA-484086

  • Siemens Security Advisory SSA-732250

  • Apache Kafka Dev Mailing List

  • Apache Kafka Users Mailing List

  • Apache Kafka Dev Thread

  • Apache Kafka Users Thread

  • Debian LTS Announcement August 2021

  • Debian LTS Announcement August 2022

  • Fedora Package Announcement

  • NetApp Security Advisory NTAP-20210902-0003

  • Debian Security Advisory DSA-5197
  • Vendor Resources
  • Siemens Security Advisory SSA-389290

  • HackerOne Report #1223565

  • Oracle CPU January 2022 Alerts

  • Oracle CPU October 2021 Alerts
  • Related CVEs
  • CVE-2023-38545: Haxx Libcurl Buffer Overflow Vulnerability
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