Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-31486

CVE-2023-31486: HTTP::Tiny Information Disclosure Flaw

CVE-2023-31486 is an information disclosure vulnerability in HTTP::Tiny, a Perl core module with insecure TLS defaults. Attackers can exploit weak certificate verification to intercept data. Learn the technical details.

Published: February 4, 2026

CVE-2023-31486 Overview

CVE-2023-31486 is an Improper Certificate Validation vulnerability affecting HTTP::Tiny, a lightweight HTTP client module that has been part of Perl core since version 5.13.9 and is also available as a standalone package on CPAN. The vulnerability stems from an insecure default TLS configuration where SSL/TLS certificate verification is disabled by default, requiring users to explicitly opt-in to certificate validation. This design flaw exposes applications using HTTP::Tiny to potential Man-in-the-Middle (MITM) attacks when making HTTPS connections.

Critical Impact

Applications using HTTP::Tiny for HTTPS connections are vulnerable to Man-in-the-Middle attacks by default, potentially allowing attackers to intercept, modify, or steal sensitive data transmitted over supposedly secure connections.

Affected Products

  • HTTP::Tiny versions before 0.083
  • Perl versions from 5.13.9 onwards (which bundle HTTP::Tiny)
  • CPAN modules dependent on HTTP::Tiny for HTTPS requests

Discovery Timeline

  • 2023-04-29 - CVE-2023-31486 published to NVD
  • 2025-01-30 - Last updated in NVD database

Technical Details for CVE-2023-31486

Vulnerability Analysis

The vulnerability resides in HTTP::Tiny's handling of TLS/SSL connections. By design, HTTP::Tiny does not verify SSL certificates by default when establishing HTTPS connections. This means that unless a developer explicitly enables certificate verification through the verify_SSL parameter, all HTTPS connections made through HTTP::Tiny are susceptible to interception.

This architectural decision affects a significant portion of the Perl ecosystem. Since HTTP::Tiny is bundled with Perl core and serves as a lightweight alternative to more feature-rich HTTP clients like LWP::UserAgent, many CPAN modules and Perl applications unknowingly inherit this insecure default behavior. The Hackeriet analysis documented the widespread impact across CPAN modules.

The lack of certificate validation allows an attacker positioned in the network path between the client and server to present a fraudulent certificate without triggering any errors or warnings. The HTTP::Tiny client will accept this certificate and proceed with the connection, enabling the attacker to decrypt, inspect, and potentially modify the traffic in both directions.

Root Cause

The root cause is a design decision in HTTP::Tiny where the verify_SSL attribute defaults to 0 (false) rather than 1 (true). This violates the principle of secure-by-default configuration. When users instantiate HTTP::Tiny objects without explicitly setting verify_SSL => 1, their HTTPS connections do not validate server certificates against trusted Certificate Authorities.

This behavior is classified under CWE-295 (Improper Certificate Validation), which encompasses scenarios where a system fails to properly validate certificates, potentially allowing adversaries to spoof trusted entities.

Attack Vector

An attacker can exploit this vulnerability through a network-based Man-in-the-Middle attack. The attack requires the attacker to position themselves in the network path between the vulnerable Perl application and its target HTTPS server. Common scenarios include:

  • Compromised or malicious network infrastructure (routers, switches)
  • Rogue access points on wireless networks
  • DNS spoofing or ARP poisoning attacks
  • BGP hijacking for larger-scale attacks

Once positioned, the attacker intercepts the TLS handshake and presents their own certificate. Since HTTP::Tiny does not verify the certificate chain by default, the connection proceeds, allowing the attacker to decrypt all traffic, steal credentials, API keys, session tokens, or inject malicious content into responses.

The vulnerability requires that the attacker achieve a network position enabling interception, which introduces complexity to exploitation. However, in environments such as public WiFi networks, shared hosting, or cloud environments with compromised network components, this attack becomes significantly more feasible.

Detection Methods for CVE-2023-31486

Indicators of Compromise

  • Unexpected network traffic patterns or connections to unknown IP addresses from Perl applications
  • Certificate warnings or anomalies in downstream logging systems when HTTP::Tiny traffic passes through monitoring proxies
  • Presence of HTTP::Tiny usage in codebase without explicit verify_SSL => 1 configuration
  • Audit logs showing sensitive data transmissions that may have been intercepted

Detection Strategies

  • Conduct code audits to identify HTTP::Tiny instantiations without verify_SSL => 1 parameter
  • Deploy network monitoring to detect TLS connections with certificate chain anomalies
  • Implement Static Application Security Testing (SAST) rules to flag insecure HTTP::Tiny configurations
  • Use dependency scanning tools to identify vulnerable HTTP::Tiny versions in your Perl applications

Monitoring Recommendations

  • Enable detailed TLS logging on network security devices to capture certificate validation failures
  • Monitor for unusual data exfiltration patterns from Perl-based applications
  • Implement certificate transparency log monitoring for domains your applications connect to
  • Deploy runtime application monitoring to detect HTTP::Tiny usage patterns in production

How to Mitigate CVE-2023-31486

Immediate Actions Required

  • Upgrade HTTP::Tiny to version 0.083 or later where secure defaults are implemented
  • Audit all existing code using HTTP::Tiny and add explicit verify_SSL => 1 to all instantiations
  • Review CPAN module dependencies for transitive usage of vulnerable HTTP::Tiny versions
  • Implement network-level TLS inspection to detect potential MITM attacks in the interim

Patch Information

The vulnerability is addressed in HTTP::Tiny version 0.083 and later. The fix changes the default behavior to verify SSL certificates, aligning with secure-by-default principles. The patch details can be reviewed in the GitHub Pull Request for HTTP::Tiny.

For systems where upgrading is not immediately possible, developers must explicitly enable certificate verification in their code. Additional context and discussion about the vulnerability can be found in the OpenWall OSS Security mailing list and the Hackeriet Blog on Insecure TLS.

Workarounds

  • Explicitly set verify_SSL => 1 when creating HTTP::Tiny instances in your Perl applications
  • Use alternative HTTP clients like LWP::UserAgent with LWP::Protocol::https that verify certificates by default
  • Implement a wrapper function that enforces secure TLS settings across your codebase
  • Deploy network-level TLS inspection and certificate pinning where applicable
bash
# Configuration example for secure HTTP::Tiny usage in Perl
# Add verify_SSL => 1 to all HTTP::Tiny instantiations:
# my $http = HTTP::Tiny->new(verify_SSL => 1);

# Verify your HTTP::Tiny version
perl -MHTTP::Tiny -e 'print $HTTP::Tiny::VERSION, "\n"'

# Upgrade HTTP::Tiny via CPAN
cpan HTTP::Tiny

# Or using cpanm
cpanm HTTP::Tiny

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechPerl

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.56%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-295
  • Technical References
  • OpenWall OSS Security Discussion

  • OpenWall OSS Security Notice

  • Hackeriet HTTP::Tiny Overview

  • OpenWall OSS Security Alert

  • Reddit PSA on HTTP::Tiny

  • NetApp Security Advisory NTAP-20241129-0011
  • Vendor Resources
  • OpenWall OSS Security Update

  • OpenWall OSS Security Follow-Up

  • Hackeriet Blog on Insecure TLS

  • GitHub Pull Request for HTTP::Tiny

  • OpenWall OSS Security Notification
  • Related CVEs
  • CVE-2025-40905: WWW::OAuth Perl Weak Entropy Vulnerability

  • CVE-2025-40928: JSON::XS Perl DoS Vulnerability

  • CVE-2026-40199: Net::CIDR::Lite Auth Bypass Vulnerability

  • CVE-2026-40198: Net::CIDR::Lite 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