Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2020-16156

Опубликовано: 23 нояб. 2021
Источник: redhat
CVSS3: 7.8
EPSS Низкий

Описание

CPAN 2.28 allows Signature Verification Bypass.

A flaw was found in the way the perl-CPAN performed verification of package signatures stored in CHECKSUMS files. A malicious or compromised CPAN server used by a user, or a man-in-the-middle attacker, could use this flaw to bypass signature verification.

Отчет

This vulnerability was rated as MODERATE severity because it allows an attacker to inject malicious packages into the CPAN system by bypassing signature verification, it requires the attacker to control a CPAN mirror and deceive the victim into using it, it poses a risk of installing compromised software. Within regulated environments, a combination of the following controls acts as a significant barrier to successfully exploiting a CWE-347: Improper Verification of Cryptographic Signature vulnerability and therefore downgrades the severity of this particular CVE from Moderate to Low. The platform uses secure, encrypted HTTPS connections over TLS 1.2, and access to all platform resources is restricted by default. Red Hat enforces strong authentication through hard token-based multi-factor authentication (MFA), combined with least privilege principles to ensure that only authorized users and roles can execute or modify code. Internal and external certificates are established and maintained within a secure environment, and the platform enforces the use of FIPS-validated cryptographic modules across all compute resources. This reduces the risk of improper cryptographic signatures by ensuring that keys used for signature generation and verification are created with approved algorithms, securely managed, and protected against unauthorized access. Additionally, static code analysis and peer code reviews support robust input validation and error handling, reducing the likelihood of missing or improperly implemented signature validation mechanisms.

Меры по смягчению последствий

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

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
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
Red Hat Enterprise Linux 8perl-CPANFixedRHSA-2025:843203.06.2025

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-347
https://bugzilla.redhat.com/show_bug.cgi?id=2035273perl-CPAN: Bypass of verification of signatures in CHECKSUMS files

EPSS

Процентиль: 4%
0.00021
Низкий

7.8 High

CVSS3

Связанные уязвимости

CVSS3: 7.8
ubuntu
больше 3 лет назад

CPAN 2.28 allows Signature Verification Bypass.

CVSS3: 7.8
nvd
больше 3 лет назад

CPAN 2.28 allows Signature Verification Bypass.

CVSS3: 7.8
debian
больше 3 лет назад

CPAN 2.28 allows Signature Verification Bypass.

CVSS3: 7.8
github
больше 3 лет назад

CPAN 2.28 allows Signature Verification Bypass.

oracle-oval
16 дней назад

ELSA-2025-8432: perl-CPAN security update (MODERATE)

EPSS

Процентиль: 4%
0.00021
Низкий

7.8 High

CVSS3

Уязвимость CVE-2020-16156