All reports
Medium

perl: CPAN.pm does not verify TLS certificates when downloading distributions over HTTPS

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2023-31484

Probability of exploitation in the next 30 days: 1.55%

FIRST EPSS · 2026-11-20

Description

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

A flaw was found in Perl's CPAN, which doesn't check TLS certificates when downloading content. This happens due to verify_SSL missing when suing the HTTP::Tiny library during the connection. This may allow an attacker to inject into the network path and perform a Man-In-The-Middle attack, causing confidentiality or integrity issues.