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-31484

CVE-2023-31484: CPAN.pm Information Disclosure Flaw

CVE-2023-31484 is an information disclosure vulnerability in CPAN.pm that fails to verify TLS certificates when downloading distributions over HTTPS. This article covers technical details, affected versions, and mitigation.

Published: February 11, 2026

CVE-2023-31484 Overview

CVE-2023-31484 is a certificate validation bypass vulnerability affecting CPAN.pm before version 2.35. The module fails to verify TLS certificates when downloading Perl distributions over HTTPS connections, creating a significant security gap that could allow attackers to intercept and modify package downloads through man-in-the-middle (MITM) attacks.

Critical Impact

This vulnerability allows attackers to intercept HTTPS connections and serve malicious Perl packages without detection, potentially leading to supply chain compromise across systems using CPAN for package management.

Affected Products

  • CPAN.pm Project CPAN.pm (versions before 2.35)
  • Perl Perl (systems using vulnerable CPAN.pm versions)

Discovery Timeline

  • April 29, 2023 - CVE-2023-31484 published to NVD
  • November 3, 2025 - Last updated in NVD database

Technical Details for CVE-2023-31484

Vulnerability Analysis

The vulnerability exists in CPAN.pm's HTTPS implementation, which does not properly validate TLS certificates when establishing secure connections to download Perl distributions. This improper certificate validation (CWE-295) means that even when using HTTPS URLs, the connection provides no actual protection against interception.

When CPAN.pm initiates a download over HTTPS, it should verify that the server's TLS certificate is valid, properly signed by a trusted certificate authority, and matches the requested hostname. However, versions prior to 2.35 skip this verification entirely, accepting any certificate presented by the server—including self-signed, expired, or certificates issued for different domains.

This vulnerability is particularly dangerous in the context of package management systems, as it undermines the fundamental trust model of software distribution. An attacker who can position themselves in the network path between a user and a CPAN mirror can serve arbitrary Perl code that will be executed during module installation.

Root Cause

The root cause is the absence of TLS certificate verification in CPAN.pm's HTTP client implementation. The module relies on underlying HTTP libraries that may not enable certificate verification by default, and CPAN.pm did not explicitly configure or enforce certificate validation. This is part of a broader issue documented in the Hackeriet Blog on Insecure TLS affecting multiple Perl HTTP modules that default to insecure TLS settings.

Attack Vector

The attack requires network-level positioning to intercept traffic between the victim and CPAN mirrors. Attackers can exploit this through:

  1. Compromised Network Infrastructure - An attacker controlling routers, DNS servers, or other network infrastructure can redirect CPAN traffic to malicious servers.

  2. Public Wi-Fi/Shared Networks - ARP spoofing or similar techniques on local networks allow traffic interception.

  3. DNS Hijacking - Redirecting CPAN mirror domain resolution to attacker-controlled servers.

When a victim runs cpan install SomeModule or uses automated deployment scripts that fetch modules, the attacker intercepts the HTTPS request. Because certificate validation is absent, the attacker presents their own certificate and serves a modified tarball containing malicious code. The victim's system installs the trojanized module without any warning.

Detection Methods for CVE-2023-31484

Indicators of Compromise

  • Unexpected network connections to unknown IP addresses during CPAN module installations
  • Modified or unfamiliar code in installed Perl modules compared to official CPAN sources
  • Unusual system behavior or processes spawned after recent CPAN installations
  • Certificate warnings or errors that were previously ignored in logs

Detection Strategies

  • Monitor CPAN installation logs for connections to unexpected hosts or IP addresses
  • Implement network monitoring to detect potential MITM attacks targeting package downloads
  • Compare checksums of installed modules against official CPAN distribution checksums
  • Deploy IDS/IPS rules to detect anomalous TLS handshake patterns

Monitoring Recommendations

  • Enable verbose logging for CPAN operations to capture connection details
  • Monitor for changes to installed Perl modules using file integrity monitoring (FIM)
  • Set up alerts for CPAN installations occurring outside of approved change windows
  • Review network traffic patterns during automated deployment processes

How to Mitigate CVE-2023-31484

Immediate Actions Required

  • Upgrade CPAN.pm to version 2.35 or later immediately across all systems
  • Audit recently installed Perl modules for signs of tampering
  • Review deployment scripts and automation that may use vulnerable CPAN.pm versions
  • Consider temporarily restricting CPAN installations to verified local mirrors

Patch Information

The fix was implemented in CPAN.pm version 2.35, which properly enforces TLS certificate verification for HTTPS connections. The GitHub CPAN Pull Request contains the technical implementation details. Linux distributions have released updates:

  • Fedora: Security updates available via the Fedora Package Announcement
  • Debian: Updates documented in the Debian LTS Announcement
  • NetApp Products: Refer to the NetApp Security Advisory NTAP-20240621-0007

Full changelog available at MetaCPAN CPAN Changes.

Workarounds

  • Configure CPAN to use a local, verified mirror instead of public mirrors
  • Use system package managers (apt, yum) for Perl modules where possible, as they typically verify signatures
  • Implement network-level controls to ensure CPAN traffic only reaches verified mirrors
  • Manually verify checksums of downloaded distributions before installation
bash
# Upgrade CPAN.pm to patched version
cpan CPAN

# Verify current CPAN.pm version
perl -MCPAN -e 'print $CPAN::VERSION'

# Configure CPAN to use a specific trusted mirror
cpan
o conf urllist http://your-trusted-mirror.example.com/CPAN/
o conf commit

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechCpanpm

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability1.12%

  • 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 Security List Alert

  • Openwall Security List Bulletin

  • GitHub CPAN Pull Request

  • Fedora Package Announcement

  • Fedora Package Update Notice

  • MetaCPAN CPAN Changes

  • NetApp Security Advisory NTAP-20240621-0007

  • Debian LTS Announcement
  • Vendor Resources
  • Openwall Security List Update

  • Openwall Security List Notice

  • Hackeriet Blog on Insecure TLS

  • Openwall Security List Notice
  • Latest CVEs
  • CVE-2026-35467: Browser API Key Information Disclosure

  • CVE-2026-35466: cveInterface.js XSS Vulnerability

  • CVE-2026-30252: ZenShare Suite XSS Vulnerability

  • CVE-2026-30251: ZenShare Suite v17.0 XSS 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