CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS.
Priority MEDIUM 40CWE-295Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 5 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat. Impact type from CWE-295.
Summary
CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01548 75th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial Red Hat: 4 advisoriesRed Hat: 5 fixed, 1 without a fix
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:cpanpm_project:cpanpm:*:*:*:*:*:*:*:* | before 2.35 | Vulnerable | Cpanpm Project |
| cpe:2.3:a:perl:perl:*:*:*:*:*:*:*:* | before 5.38.0 | Vulnerable | Perl |
- cpe:2.3:a:cpanpm_project:cpanpm:*:*:*:*:*:*:*:* Versions before 2.35 Vulnerable ·Cpanpm Project
- cpe:2.3:a:perl:perl:*:*:*:*:*:*:*:* Versions before 5.38.0 Vulnerable ·Perl
Remediation
Red Hat 4 advisories
- RHSA-2026:7604 Released 2026-04-10 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images perl-5.42.2-524.1.hum1@aarch64, perl-5.42.2-524.1.hum1@src, perl-5.42.2-524.1.hum1@x86_64 +47
- RHSA-2026:0079 Released 2026-01-05 · Red Hat rating Moderateperl security update
- Red Hat Enterprise Linux Server (v. 7 ELS) perl-4:5.16.3-299.el7_9.1, perl-CPAN-1.9800-299.el7_9.1, perl-ExtUtils-CBuilder-1:0.28.2.6-299.el7_9.1 +16
- Red Hat Enterprise Linux Server Optional (v. 7 ELS) perl-tests-4:5.16.3-299.el7_9.1
- RHSA-2024:3094 Released 2024-05-22 · Red Hat rating Moderateperl-CPAN security update
- Red Hat Enterprise Linux AppStream (v. 8) perl-CPAN-2.18-399.el8
Show 1 more Red Hat advisories
- RHSA-2023:6539 Released 2023-11-07 · Red Hat rating Moderateperl-CPAN security update
- Red Hat Enterprise Linux AppStream (v. 9) perl-CPAN-2.29-3.el9
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2024:3094 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2023:6539 |
| Red Hat Enterprise Linux Server (v. 7 ELS) | Fixed | RHSA-2026:0079 |
| Red Hat Enterprise Linux Server Optional (v. 7 ELS) | Fixed | RHSA-2026:0079 |
| Red Hat Hardened Images | Fixed | RHSA-2026:7604 |
Timeline
- 2026-10-02 Threatist record created from CVE-2023-31484
- 2026-10-03 Alias added: GHSA-5v8j-jfmm-6x86
References
Patch 4
- https://blog.hackeriet.no/perl-http-tiny-insecure-tls-default-affects-cpan-modules/
- https://www.openwall.com/lists/oss-security/2023/04/18/14
- [oss-security] 20230429 Re: Perl's HTTP::Tiny has insecure TLS cert default, affecting CPAN.pm and other modules
- [oss-security] 20230503 Re: Perl's HTTP::Tiny has insecure TLS cert default, affecting CPAN.pm and other modules
Other 4
- https://metacpan.org/dist/CPAN/changes
- [oss-security] 20230503 Re: Perl's HTTP::Tiny has insecure TLS cert default, affecting CPAN.pm and other modules
- [oss-security] 20230507 Re: Perl's HTTP::Tiny has insecure TLS cert default, affecting CPAN.pm and other modules
- https://security.netapp.com/advisory/ntap-20240621-0007/
Sources
- CVE-2023-31484 · CVE Program
- CVE-2023-31484 · NVD
- FIRST EPSS
- GHSA-5v8j-jfmm-6x86 · GitHub Advisory Database · CC BY 4.0
- CVE-2023-31484 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences