PT-2022-3252 · Python+11 · Python+11

Bernd Dietzel

·

Publicado

2015-08-02

·

Atualizado

2026-05-18

·

CVE-2015-20107

CVSS v2.0

10

Alta

VetorAV:N/AC:L/Au:N/C:C/I:C/A:C
Nome do software vulnerável e versões afetadas
Versões do Python anteriores à 3.10.8
Versões do Python 3.7, 3.8, 3.9
Descrição
O problema está relacionado à validação insuficiente de argumentos no módulo mailcap do interpretador Python. Isso pode permitir que um invasor remoto injete comandos de shell em aplicativos que utilizam a função mailcap.findmatch com entradas não confiáveis, como nomes de arquivos ou argumentos fornecidos pelo usuário e não validados.
Recomendações
Para versões do Python anteriores à 3.10.8, atualize para a versão 3.10.8 ou posterior para resolver o problema.
Para as versões 3.7, 3.8 e 3.9 do Python, aplique a correção retroativa para resolver o problema.
Como solução alternativa temporária, considere validar nomes de arquivos e argumentos fornecidos pelo usuário antes de passá-los para a função mailcap.findmatch, a fim de minimizar o risco de exploração.

Exploit

Correção

Command Injection

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

ALSA-2022:6457
ALSA-2022:7581
ALSA-2022:7592
ALSA-2022:7593
ALSA-2022:8353
ALT-PU-2022-2066
ALT-PU-2022-3044
ALT-PU-2022-3282
ALT-PU-2023-1518
ALT-PU-2023-4581
ALT-PU-2024-2598
ALT-PU-2024-3474
AZL-9417
BDU:2022-03962
CESA-2022_6457
CESA-2022_7581
CESA-2022_7592
CESA-2022_7593
CLEANSTART-2026-BM51903
CLEANSTART-2026-SY44974
CLEANSTART-2026-WV76464
CVE-2015-20107
DLA-3432-1
DLA-3477-1
DLA-3980-1
MGASA-2022-0359
MGASA-2022-0367
OESA-2022-1653
OPENSUSE-SU-2022_2174-1
OPENSUSE-SU-2022_2291-1
OPENSUSE-SU-2022_2344-1
OPENSUSE-SU-2022_2357-1
OPENSUSE-SU-2024:12143-1
OPENSUSE-SU-2024:12150-1
OPENSUSE-SU-2024:12152-1
PSF-2022-1
RHSA-2022:6457
RHSA-2022:6766
RHSA-2022:7581
RHSA-2022:7592
RHSA-2022:7593
RHSA-2022:8353
RHSA-2022_6457
RHSA-2022_7581
RHSA-2022_7592
RHSA-2022_7593
RHSA-2022_8353
RLSA-2022:7581
RLSA-2022:7592
RLSA-2022:7593
RLSA-2022:8353
ROSA-SA-2025-2669
SUSE-SU-2022:2147-1
SUSE-SU-2022:2166-1
SUSE-SU-2022:2174-1
SUSE-SU-2022:2248-1
SUSE-SU-2022:2249-1
SUSE-SU-2022:2291-1
SUSE-SU-2022:2344-1
SUSE-SU-2022:2351-1
SUSE-SU-2022:2357-1
SUSE-SU-2022:2357-2
SUSE-SU-2022_2147-1
SUSE-SU-2022_2166-1
SUSE-SU-2022_2174-1
SUSE-SU-2022_2248-1
SUSE-SU-2022_2249-1
SUSE-SU-2022_2291-1
SUSE-SU-2022_2344-1
SUSE-SU-2022_2351-1
SUSE-SU-2022_2357-1
SUSE-SU-2023:0707-1
SUSE-SU-2023:0748-1
SUSE-SU-2023_0707-1
USN-5519-1
USN-5888-1
USN-6891-1

Produtos afetados

Alt Linux
Almalinux
Astra Linux
Centos
Debian
Linuxmint
Python
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu