CVE-2023-31484
JSON

8.1high

CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS.

Severity
8.1high CVSS:3.1 by CISA-ADP
Exploit likelihood
1.56% (higher than 75% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
cpanpm_project cpanpmbefore 2.35CVE List, NVD
perl perlbefore 5.38.0NVD

All scores

CISA-ADP8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-295

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

https://blog.hackeriet.no/perl-http-tiny-insecure-tls-default-affects-cpan-modules/mitigation, patch, third-party-advisory
https://www.openwall.com/lists/oss-security/2023/04/18/14mailing-list, patch
https://github.com/andk/cpanpm/pull/175exploit, issue-tracking
https://metacpan.org/dist/CPAN/changesrelease-notes
http://www.openwall.com/lists/oss-security/2023/04/29/1mailing-list, patch
http://www.openwall.com/lists/oss-security/2023/05/03/3mailing-list, patch
http://www.openwall.com/lists/oss-security/2023/05/03/5mailing-list
http://www.openwall.com/lists/oss-security/2023/05/07/2mailing-list
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BM6UW55CNFUTNGD5ZRKGUKKKFDJGMFHL/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LEGCEOKFJVBJ2QQ6S2H4NAEWTUERC7SB/vendor-advisory
https://security.netapp.com/advisory/ntap-20240621-0007/
https://lists.debian.org/debian-lts-announce/2024/10/msg00017.html

Sources

SourceRecordLicence
CVE ListCVE-2023-31484 changed 2025-11-03CVE Terms of Use
NVDCVE-2023-31484 changed 2026-06-17Public domain