CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS.
https://www.openwall.com/lists/oss-security/2023/04/18/14
https://security.netapp.com/advisory/ntap-20240621-0007/
https://metacpan.org/dist/CPAN/changes
https://github.com/andk/cpanpm/pull/175
https://blog.hackeriet.no/perl-http-tiny-insecure-tls-default-affects-cpan-modules/
http://www.openwall.com/lists/oss-security/2023/05/07/2
http://www.openwall.com/lists/oss-security/2023/05/03/5