CVE-2023-31484 json
CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS.
published 2023-04-28 3 y ago modified 2026-06-17 4 mo ago also EUVD-2023-35789
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 75%
- public exploits
- 0
- none known
Summary
CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS.
Patch / fix
- cpanpm_project cpanpm 2.35
- perl Debian 12 5.36.0-7+deb12u3
- perl Debian 14, Debian 13 5.38.2-2
debian advisories DEBIAN-CVE-2023-31484
- perl Ubuntu 18.04 LTS 5.26.1-6ubuntu0.7
- perl Ubuntu 20.04 LTS 5.30.0-9ubuntu0.4
- perl Ubuntu 22.04 LTS 5.34.0-3ubuntu1.2
- perl Ubuntu Pro 14.04 LTS 5.18.2-2ubuntu1.7+esm5
- perl Ubuntu Pro 16.04 LTS 5.22.1-9ubuntu0.9+esm2
ubuntu advisories UBUNTU-CVE-2023-31484
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- perl hummingbird 1 5.42.2-524.1.hum1
- perl-B hummingbird 1 1.89-524.1.hum1
- perl-if hummingbird 1 0.61.000-524.1.hum1
- perl-IO hummingbird 1 1.55-524.1.hum1
- perl-ph hummingbird 1 5.42.2-524.1.hum1
- perl-lib hummingbird 1 0.65-524.1.hum1
- perl-mro hummingbird 1 1.29-524.1.hum1
- perl-Net hummingbird 1 1.04-524.1.hum1
red hat advisories RHSA-2026:7604RHSA-2026:0079RHSA-2024:3094RHSA-2023:6539
- perl SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Real Time 15 SP3 +19 more 5.26.1-150300.17.14.1
- perl SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +5 more 5.18.2-12.26.1
- perl SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLE High Performance Computing 15 SP2-LTSS 5.26.1-150000.7.18.1
suse advisories SUSE-SU-2024:1630-1SUSE-SU-2023:2882-1SUSE-SU-2023:2881-1
- perl-CPAN AlmaLinux 8 2.18-399.el8
- perl-CPAN AlmaLinux 9 2.29-3.el9
almalinux advisories ALSA-2024:3094ALSA-2023:6539
- perl-CPAN Rocky Linux 8 2.18-399.el8
- perl-CPAN Rocky Linux 9 2.29-3.el9
rocky linux advisories RLSA-2024:3094RLSA-2023:6539
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-31484 updated cvss 7.4
perl: CPAN.pm does not verify TLS certificates when downloading distributions over HTTPS
-
Red Hat Enterprise Linux 6 perl, perl-CGI, perl-core, perl-CPAN, perl-libs, perl-parent, +39 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux AppStream (v. 8) perl-CPAN 2.18-399.el8fixed: vendor fix RHSA-2024:3094
-
Red Hat Enterprise Linux AppStream (v. 9) perl-CPAN 2.29-3.el9fixed: vendor fix RHSA-2023:6539
-
Red Hat Enterprise Linux Server (v. 7 ELS) perl 5.16.3-299.el7_9.1, perl-core 5.16.3-299.el7_9.1, perl-CPAN 1.9800-299.el7_9.1, perl-libs 5.16.3-299.el7_9.1, perl-IO-Zlib 1.10-299.el7_9.1, perl-macros 5.16.3-299.el7_9.1, +10 more Red Hat Enterprise Linux Server Optional (v. 7 ELS) perl-tests 5.16.3-299.el7_9.1fixed: vendor fix RHSA-2026:0079
-
Red Hat Hardened Images perl 5.42.2-524.1.hum1, perl-B 1.89-524.1.hum1, perl-IO 1.55-524.1.hum1, perl-Tie 4.6-524.1.hum1, perl-lib 0.65-524.1.hum1, perl-mro 1.29-524.1.hum1, +93 morefixed: vendor fix RHSA-2026:7604
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
1.55% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/andk/cpanpm/pull/175 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected products
- cpanpm_project cpanpm
Classification
- Weakness
-
- CWE-295 Improper Certificate Validation
References
-
github.com
/andk/cpanpm/pull/175
exploit, issue-tracking
-
blog.hackeriet.no
/perl-http-tiny-insecure-tls-default-affects-cpan-modules/
mitigation, patch, third-party-advisory
-
openwall.com
/lists/oss-security/2023/04/18/14
mailing-list, patch
-
openwall.com
/lists/oss-security/2023/04/29/1
mailing-list, patch
-
openwall.com
/lists/oss-security/2023/05/03/3
mailing-list, patch
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/BM6UW55CNFUTNGD5ZRKGUKKKFDJGMFHL/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/LEGCEOKFJVBJ2QQ6S2H4NAEWTUERC7SB/
vendor-advisory
-
metacpan.org
/dist/CPAN/changes
release-notes
-
openwall.com
/lists/oss-security/2023/05/03/5
mailing-list
-
openwall.com
/lists/oss-security/2023/05/07/2
mailing-list
- security.netapp.com /advisory/ntap-20240621-0007/
- lists.debian.org /debian-lts-announce/2024/10/msg00017.html
Sources
- CVE List CVE-2023-31484
- NVD CVE-2023-31484
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.