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

exploitDog

redhat логотип

CVE-2020-12723

Опубликовано: 02 июн. 2020
Источник: redhat
CVSS3: 7.5
EPSS Низкий

Описание

regcomp.c in Perl before 5.30.3 allows a buffer overflow via a crafted regular expression because of recursive S_study_chunk calls.

Отчет

A vulnerability in the Perl regular expression compiler affects Red Hat Enterprise Linux 7 and 8. The flaw exists in the S_study_chunk() function's handling of GOSUB opcodes during regular expression compilation. When processing untrusted regular expressions, recursive calls to S_study_chunk() can corrupt the intermediate language state, allowing an attacker to inject malicious instructions into the compiled regular expression. This network-accessible vulnerability can lead to denial of service. To mitigate, applications should not allow compilation of untrusted regular expressions. Note that this issue affects regular expression compilation, not pattern matching against untrusted input.

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

To mitigate this flaw, developers should not allow untrusted regular expressions to be compiled by the Perl regular expression compiler.

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

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 5perlOut of support scope
Red Hat Enterprise Linux 6perlOut of support scope
Red Hat Enterprise Linux 8perl:5.24/perlWill not fix
Red Hat Enterprise Linux 7perlFixedRHSA-2021:034302.02.2021
Red Hat Enterprise Linux 7.4 Advanced Update SupportperlFixedRHSA-2021:126620.04.2021
Red Hat Enterprise Linux 7.4 Telco Extended Update SupportperlFixedRHSA-2021:126620.04.2021
Red Hat Enterprise Linux 7.4 Update Services for SAP SolutionsperlFixedRHSA-2021:126620.04.2021
Red Hat Enterprise Linux 7.6 Extended Update SupportperlFixedRHSA-2021:088316.03.2021
Red Hat Enterprise Linux 7.7 Extended Update SupportperlFixedRHSA-2021:103230.03.2021
Red Hat Enterprise Linux 8perlFixedRHSA-2021:055716.02.2021

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

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

Статус:

Moderate
Дефект:
CWE-20->CWE-185
https://bugzilla.redhat.com/show_bug.cgi?id=1838000perl: corruption of intermediate language state of compiled regular expression due to recursive S_study_chunk() calls leads to DoS

EPSS

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

7.5 High

CVSS3

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

CVSS3: 7.5
ubuntu
почти 6 лет назад

regcomp.c in Perl before 5.30.3 allows a buffer overflow via a crafted regular expression because of recursive S_study_chunk calls. An application written in Perl would only be vulnerable to this flaw if it evaluates regular expressions supplied by the attacker. Evaluating regular expressions in this fashion is known to be dangerous since the regular expression engine does not protect against denial of service attacks in this usage scenario.]

CVSS3: 7.5
nvd
почти 6 лет назад

regcomp.c in Perl before 5.30.3 allows a buffer overflow via a crafted regular expression because of recursive S_study_chunk calls.

CVSS3: 7.5
debian
почти 6 лет назад

regcomp.c in Perl before 5.30.3 allows a buffer overflow via a crafted ...

oracle-oval
около 5 лет назад

ELSA-2021-0557: perl:5.26 security update (MODERATE)

CVSS3: 7.5
fstec
почти 6 лет назад

Уязвимость реализации функции S_study_chunk интерпретатора языка программирования Perl, позволяющая нарушителю вызвать отказ в обслуживании

EPSS

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

7.5 High

CVSS3

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