Vulnerability in Cpanpm Project
CVE-2023-31484
CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS.
Vulnerability class: Improper Certificate Validation
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.015, 75.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 19 other repositories (11notes/docker-paperless-ngx, Atamik03/API-calc-dz, bygregonline/devsec-fastapi-report, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- blog.hackeriet.no/perl-http-tiny-insecure-tls-default-affects-cpan-modules/ (Patch, Third Party Advisory, Mitigation)
- www.openwall.com/lists/oss-security/2023/04/18/14 (Patch, Mailing List)
- github.com/andk/cpanpm/pull/175 (Exploit, Issue Tracking)
- metacpan.org/dist/CPAN/changes (Release Notes)
- [oss-security] 20230429 Re: Perl's HTTP::Tiny has insecure TLS cert default, affecting CPAN.pm and other modules (mailing-list, Patch, Mailing List)
- [oss-security] 20230503 Re: Perl's HTTP::Tiny has insecure TLS cert default, affecting CPAN.pm and other modules (mailing-list, Patch, Mailing List)
- [oss-security] 20230503 Re: Perl's HTTP::Tiny has insecure TLS cert default, affecting CPAN.pm and other modules (mailing-list, Mailing List)
- [oss-security] 20230507 Re: Perl's HTTP::Tiny has insecure TLS cert default, affecting CPAN.pm and other modules (mailing-list, Mailing List)
- FEDORA-2023-1e5af38524 (vendor-advisory)
- FEDORA-2023-46924e402a (vendor-advisory)