Vulnerability · Published Apr 28, 2023 · Assigned by mitre
CVE-2023-31484
High 8.1
In plain English
A high-severity improper certificate validation in the perl-CPAN package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 75% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)8.1High
Exploit odds (30 days)1.5%top 24.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | perl-CPAN | 2.18-399.el8 | ALSA-2024:3094 |
| AlmaLinux:9 | perl-CPAN | 2.29-3.el9 | ALSA-2023:6539 |
| Debian:12 | perl | 5.36.0-7+deb12u3 | DEBIAN-CVE-2023-31484 |
| Debian:13 | perl | 5.38.2-2 | DEBIAN-CVE-2023-31484 |
| Debian:14 | perl | 5.38.2-2 | DEBIAN-CVE-2023-31484 |
| Rocky Linux:8 | perl-CPAN | 0:2.18-399.el8 | RLSA-2024:3094 |
| Rocky Linux:9 | perl-CPAN | 0:2.29-3.el9 | RLSA-2023:6539 |
| Ubuntu:22.04:LTS | perl | 5.34.0-3ubuntu1.2 | UBUNTU-CVE-2023-31484 |
| Ubuntu:22.04:LTS | perl | 5.34.0-3ubuntu1.2 | USN-6112-2 |
Affected products (as reported)
Weakness: CWE-295 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://blog.hackeriet.no/perl-http-tiny-insecure-tls-default-affects-cpan-modules/
- https://www.openwall.com/lists/oss-security/2023/04/18/14
- https://github.com/andk/cpanpm/pull/175
- https://metacpan.org/dist/CPAN/changes
- [oss-security] 20230429 Re: Perl's HTTP::Tiny has insecure TLS cert default, affecting CPAN.pm and other modules mailing-list
- [oss-security] 20230503 Re: Perl's HTTP::Tiny has insecure TLS cert default, affecting CPAN.pm and other modules mailing-list
- [oss-security] 20230503 Re: Perl's HTTP::Tiny has insecure TLS cert default, affecting CPAN.pm and other modules mailing-list
- [oss-security] 20230507 Re: Perl's HTTP::Tiny has insecure TLS cert default, affecting CPAN.pm and other modules mailing-list
- FEDORA-2023-1e5af38524 vendor-advisory
- FEDORA-2023-46924e402a vendor-advisory
- https://security.netapp.com/advisory/ntap-20240621-0007/
- https://lists.debian.org/debian-lts-announce/2024/10/msg00017.html