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

exploitDog

redhat логотип

CVE-2019-20907

Опубликовано: 10 дек. 2019
Источник: redhat
CVSS3: 7.5

Описание

In Lib/tarfile.py in Python through 3.8.3, an attacker is able to craft a TAR archive leading to an infinite loop when opened by tarfile.open, because _proc_pax lacks header validation.

A flaw was found in python. In Lib/tarfile.py an attacker is able to craft a TAR archive leading to an infinite loop when opened by tarfile.open, because _proc_pax lacks header validation.

Отчет

A service is vulnerable if it uses python's tarfile module to open untrusted tar files. If an attacker is able to submit a crafted tar file to a service which uses the tarfile module to open it, an infinite loop will be executed, potentially causing a denial of service. The tarfile module is included with python. Versions of python36:3.6/python36 as shipped with Red Hat Enterprise Linux 8 are marked as 'Not affected' as they just provide "symlinks" to the main python3 component, which provides the actual interpreter of the Python programming language.

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

This flaw can be mitigated by not opening untrusted files with tarfile.

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

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 5pythonOut of support scope
Red Hat Enterprise Linux 6pythonOut of support scope
Red Hat Enterprise Linux 8python36:3.6/python36Not affected
Red Hat Quay 3python27Affected
Red Hat Enterprise Linux 7pythonFixedRHSA-2020:500910.11.2020
Red Hat Enterprise Linux 7python3FixedRHSA-2020:501010.11.2020
Red Hat Enterprise Linux 7.4 Advanced Update SupportpythonFixedRHSA-2021:076109.03.2021
Red Hat Enterprise Linux 7.4 Telco Extended Update SupportpythonFixedRHSA-2021:076109.03.2021
Red Hat Enterprise Linux 7.4 Update Services for SAP SolutionspythonFixedRHSA-2021:076109.03.2021
Red Hat Enterprise Linux 7.6 Extended Update SupportpythonFixedRHSA-2021:088116.03.2021

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

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

Статус:

Moderate
Дефект:
CWE-20->CWE-835
https://bugzilla.redhat.com/show_bug.cgi?id=1856481python: infinite loop in the tarfile module via crafted TAR archive

7.5 High

CVSS3

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

CVSS3: 7.5
ubuntu
больше 5 лет назад

In Lib/tarfile.py in Python through 3.8.3, an attacker is able to craft a TAR archive leading to an infinite loop when opened by tarfile.open, because _proc_pax lacks header validation.

CVSS3: 7.5
nvd
больше 5 лет назад

In Lib/tarfile.py in Python through 3.8.3, an attacker is able to craft a TAR archive leading to an infinite loop when opened by tarfile.open, because _proc_pax lacks header validation.

CVSS3: 7.5
msrc
около 1 года назад

Описание отсутствует

CVSS3: 7.5
debian
больше 5 лет назад

In Lib/tarfile.py in Python through 3.8.3, an attacker is able to craf ...

suse-cvrf
около 5 лет назад

Security update for python3

7.5 High

CVSS3