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

exploitDog

redhat логотип

CVE-2015-20107

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

Описание

In Python (aka CPython) up to 3.10.8, the mailcap module does not add escape characters into commands discovered in the system mailcap file. This may allow attackers to inject shell commands into applications that call mailcap.findmatch with untrusted input (if they lack validation of user-provided filenames or arguments). The fix is also back-ported to 3.7, 3.8, 3.9

A command injection vulnerability was found in the Python mailcap module. The issue occurs due to not adding escape characters into the system mailcap file commands. This flaw allows attackers to inject shell commands into applications that call the mailcap.findmatch function with untrusted input.

Отчет

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.

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

Users should upgrade to the latest version. If this is not possible and the affected version of the Python mailcap module has to be used then applications that use mailcap module should verify user input before passing it to the mailcap module, and the returned command before executing it.

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

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 6pythonNot affected
Red Hat Enterprise Linux 7pythonNot affected
Red Hat Enterprise Linux 7python3Out of support scope
Red Hat Enterprise Linux 8gimp:flatpak/python2Not affected
Red Hat Enterprise Linux 8inkscape:flatpak/python2Not affected
Red Hat Enterprise Linux 8python36:3.6/python36Not affected
Red Hat Software Collectionspython27Will not fix
Red Hat Enterprise Linux 8python3FixedRHSA-2022:645713.09.2022
Red Hat Enterprise Linux 8python38FixedRHSA-2022:758108.11.2022
Red Hat Enterprise Linux 8python38-develFixedRHSA-2022:758108.11.2022

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

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

Статус:

Moderate
Дефект:
CWE-20->CWE-77
https://bugzilla.redhat.com/show_bug.cgi?id=2075390python: mailcap: findmatch() function does not sanitize the second argument

EPSS

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

7.6 High

CVSS3

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

CVSS3: 7.6
ubuntu
около 3 лет назад

In Python (aka CPython) up to 3.10.8, the mailcap module does not add escape characters into commands discovered in the system mailcap file. This may allow attackers to inject shell commands into applications that call mailcap.findmatch with untrusted input (if they lack validation of user-provided filenames or arguments). The fix is also back-ported to 3.7, 3.8, 3.9

CVSS3: 7.6
nvd
около 3 лет назад

In Python (aka CPython) up to 3.10.8, the mailcap module does not add escape characters into commands discovered in the system mailcap file. This may allow attackers to inject shell commands into applications that call mailcap.findmatch with untrusted input (if they lack validation of user-provided filenames or arguments). The fix is also back-ported to 3.7, 3.8, 3.9

CVSS3: 7.6
msrc
около 3 лет назад

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

CVSS3: 7.6
debian
около 3 лет назад

In Python (aka CPython) up to 3.10.8, the mailcap module does not add ...

suse-cvrf
почти 3 года назад

Security update for python3

EPSS

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

7.6 High

CVSS3

Уязвимость CVE-2015-20107