cve.bz

CVE-2020-16156

7.8 highExploit referenceEPSS 0.9%

High (7.8). EPSS 0.9% estimated probability of exploitation activity in the next 30 days.

On this page
CPAN 2.28 allows Signature Verification Bypass.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 59th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-347 Improper Verification of Cryptographic Signature
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-16156 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-16156?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-16156?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-16156 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
perl:comprehensive_perl_archive_network2.28
perl:comprehensive_perl_archive_network2.28:trial
fedoraproject:fedora34
fedoraproject:fedora35

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11perl5.32.1-4+deb11u4DLA-3926-1
Debian12, 13, 14perl5.36.0-4DEBIAN-CVE-2020-16156
Ubuntu18.04:LTSperl5.26.1-6ubuntu0.6UBUNTU-CVE-2020-16156 USN-5689-1
Ubuntu20.04:LTSperl5.30.0-9ubuntu0.3UBUNTU-CVE-2020-16156 USN-5689-1
Ubuntu22.04:LTSperl5.34.0-3ubuntu1.1UBUNTU-CVE-2020-16156 USN-5689-1
UbuntuPro:14.04:LTSperl5.18.2-2ubuntu1.7+esm4UBUNTU-CVE-2020-16156 USN-5689-1
UbuntuPro:16.04:LTSperl5.22.1-9ubuntu0.9+esm1UBUNTU-CVE-2020-16156 USN-5689-1
Red Hatenterprise_linux:8::appstreamperl-CPAN0:2.18-402.el8_10RHSA-2025:8432
AlmaLinux8perl-CPAN2.18-402.el8_10ALSA-2025:8432
Rocky Linux8perl-CPAN0:2.18-402.el8_10RLSA-2025:8432

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is assigned a Moderate Severity rating primarily because of the multistep nature of the attack and the efficacy of environmental security controls. The underlying issue is a serious software flaw, designated as CWE 347: Improper Verification of Cryptographic Signature, which means the system fails to correctly verify the digital authenticity of installation packages, potentially allowing an attacker to insert malicious software into the $\text{CPAN}$ repository. However, successfully exploiting this flaw requires a complex attack chain: the adversary must first gain control of a legitimate $\text{CPAN}$ distribution mirror and then actively deceive a targeted user into initiating an install from that compromised source, which necessitates User Interaction. Although the potential impact of a successful attack is high (leading to a complete compromise of the victim's data and system integrity), the severity is downgraded to Moderate in secure, regulated environments. This is because mandatory defenses such as enforcing secure $\text{HTTPS/TLS}$ connections, implementing Multi Factor Authentication ($\text{MFA}$), adhering to $\text{least privilege}$ access principles, and mandating the use of $\text{FIPS}$ validated cryptographic modules create robust, layered barriers that significantly increase the difficulty of both the required initial compromise and the necessary social engineering of a protected user, thus lowering the overall practical risk.

Red Hat's mitigation

This issue can be mitigated by configuring perl-CPAN to only use trusted CPAN mirrors (www.cpan.org or cpan.metacpan.org) and use HTTPS for communication with CPAN servers. If you already have a cpan configured, the list of configured mirrors can be viewed by running the `cpan` command without any argument and entering the following command on the cpan command's prompt:

```

o conf urllist

```

Ensure that the URL list only includes trusted mirrors and that https:// scheme is used for all URLs. A different set of mirrors can be configured using the following commands (these examples show how to configure one or more mirrors, only one of the commands should be used):

```

o conf urllist https://www.cpan.org

o conf urllist https://www.cpan.org https://cpan.metacpan.org

```

After changing configuration, the following command must be used to save the configuration:

```

o conf commit

```

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8perl-CPAN-0:2.18-402.el8_10Fixed 2025-06-03RHSA-2025:8432
Red Hat Enterprise Linux 6perlOut of support scope
Red Hat Enterprise Linux 7perlOut of support scope
Red Hat Enterprise Linux 8perlNot affected
Red Hat Enterprise Linux 8perl:5.30/perl-CPANWill not fix
Red Hat Enterprise Linux 8perl:5.32/perl-CPANWill not fix
Red Hat Enterprise Linux 9perlNot affected
Red Hat Enterprise Linux 9perl-CPANNot affected
Red Hat Software Collectionsrh-perl530-perl-CPANWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-16156.

Attack patterns (CAPEC)

  • CAPEC-463 Padding Oracle Crypto Attack Severity: High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON