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-2023-46219

CVE-2023-46219: Haxx Curl Information Disclosure Flaw

CVE-2023-46219 is an information disclosure vulnerability in Haxx Curl that corrupts HSTS data when file names exceed length limits. This article covers the technical details, affected versions, security impact, and mitigation.

Published: February 4, 2026

CVE-2023-46219 Overview

CVE-2023-46219 is a vulnerability in curl that affects HTTP Strict Transport Security (HSTS) data persistence. When saving HSTS data to an excessively long file name, curl could end up removing all contents, making subsequent requests using that file unaware of the HSTS status they should otherwise use. This effectively bypasses HSTS protections that are designed to ensure connections are made over HTTPS.

Critical Impact

This vulnerability can cause curl to lose HSTS enforcement data, potentially allowing downgrade attacks where secure HTTPS connections are inadvertently made over insecure HTTP, exposing sensitive data to interception.

Affected Products

  • Haxx curl (multiple versions)
  • Fedora 38
  • Systems using curl with HSTS caching enabled

Discovery Timeline

  • 2023-12-12 - CVE-2023-46219 published to NVD
  • 2025-12-02 - Last updated in NVD database

Technical Details for CVE-2023-46219

Vulnerability Analysis

The vulnerability is classified under CWE-311 (Missing Encryption of Sensitive Data), though the core issue relates to improper file handling during HSTS data persistence. When curl attempts to save HSTS cache data to a file path that exceeds system limits, the file handling logic fails in a way that results in the existing HSTS data being cleared rather than preserved.

HSTS is a critical security mechanism that instructs browsers and HTTP clients to only communicate with servers over HTTPS. By maintaining a cache of domains that have declared HSTS policies, curl ensures subsequent requests to those domains use encrypted connections. When this cache is inadvertently cleared, the client loses knowledge of these policies, potentially connecting over unencrypted HTTP to hosts that explicitly required HTTPS.

Root Cause

The root cause lies in curl's file handling logic when persisting HSTS data to disk. When the target file path exceeds certain length limitations, the save operation encounters an error condition that is not properly handled. Instead of preserving the existing file contents or failing gracefully, the operation results in truncating or removing the file contents entirely. This leaves an empty or corrupted HSTS cache file.

Attack Vector

An attacker could potentially exploit this vulnerability through several scenarios:

  1. Indirect File Path Manipulation: If an attacker can influence the HSTS cache file path (e.g., through environment variables or configuration files), they could craft an excessively long path to trigger the vulnerability.

  2. Man-in-the-Middle Downgrade: Once HSTS data is lost, an attacker positioned on the network path could intercept and downgrade HTTPS connections to HTTP for domains that previously had HSTS protections, enabling traffic interception.

  3. Automated Systems: Build systems, CI/CD pipelines, or automated scripts using curl with HSTS caching could be affected if file paths are dynamically generated and become excessively long.

The vulnerability is exploited over the network, requires no special privileges, and does not require user interaction. The primary impact is on the integrity of security configurations rather than direct data exposure.

Detection Methods for CVE-2023-46219

Indicators of Compromise

  • Unexpectedly empty or truncated HSTS cache files used by curl
  • Curl processes attempting to write to file paths exceeding system path length limits
  • Unexpected HTTP (non-HTTPS) connections to domains that should enforce HSTS
  • File system errors or warnings related to HSTS file operations in application logs

Detection Strategies

  • Monitor for HTTP connections to domains known to require HTTPS, which may indicate HSTS cache corruption
  • Implement file integrity monitoring on curl HSTS cache files to detect unexpected modifications or truncations
  • Review application logs for file path length errors or HSTS-related warnings
  • Audit systems using curl to identify configurations with potentially problematic HSTS cache file paths

Monitoring Recommendations

  • Enable verbose logging for curl operations in critical systems to capture HSTS file handling events
  • Set up alerts for HTTP connections to security-sensitive endpoints that should be HTTPS-only
  • Periodically validate HSTS cache file integrity and contents in automated systems
  • Monitor network traffic for protocol downgrade patterns that could indicate HSTS bypass

How to Mitigate CVE-2023-46219

Immediate Actions Required

  • Update curl to the latest patched version that addresses CVE-2023-46219
  • Review and audit HSTS cache file paths in all curl configurations to ensure they are within safe length limits
  • Verify HSTS cache file contents after updating to confirm integrity
  • Consider implementing additional transport security measures as defense-in-depth

Patch Information

The curl project has released patches addressing this vulnerability. Detailed information is available in the official curl CVE-2023-46219 documentation. Additional security advisories have been published by:

  • Debian Security Advisory DSA-5587
  • Fedora Package Announcement
  • NetApp Security Advisory NTAP-20240119-0007

Organizations should apply vendor-specific patches according to their distribution's update mechanisms.

Workarounds

  • Ensure HSTS cache file paths are kept to reasonable lengths, well within operating system limits
  • Use absolute paths with minimal directory depth for HSTS cache files
  • Implement application-level HSTS enforcement as a backup to curl's built-in caching
  • Consider disabling HSTS file caching if not required, using in-memory caching instead
  • Monitor and validate HSTS cache file integrity through periodic automated checks
bash
# Verify curl version includes the security fix
curl --version

# Check current HSTS cache file path length and contents
ls -la ~/.curl-hsts

# Update curl on Debian/Ubuntu systems
sudo apt update && sudo apt upgrade curl

# Update curl on Fedora systems
sudo dnf update 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

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-311
  • Technical References
  • HackerOne Report #2236133

  • Fedora Package Announcement

  • NetApp Security Advisory NTAP-20240119-0007

  • Debian Security Advisory DSA-5587

  • Fedora Package Announcement
  • Vendor Resources
  • Curl CVE-2023-46219 Documentation
  • Related CVEs
  • CVE-2026-3783: Haxx Curl Information Disclosure Vulnerability

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

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

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