PT-2009-1458 · Python+1 · Python+1

Jan Lieskovsky

·

Publicado

2009-01-28

·

Atualizado

2022-07-05

·

CVE-2008-5983

CVSS v2.0

6.9

Média

VetorAV:L/AC:M/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Python versions 2.6 and earlier
Description The issue is related to an untrusted search path vulnerability in the PySys SetArgv API function. When the argv[0] argument does not contain a path separator, an empty string is prepended to sys.path. This might allow local users to execute arbitrary code via a Trojan horse Python file in the current working directory.
Recommendations For Python versions 2.6 and earlier, consider updating to a version where this issue is resolved, or as a temporary workaround, restrict the execution of Python files from untrusted sources in the current working directory to minimize the risk of exploitation.

Correção

Untrusted Search Path

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

Enumeração de Fraquezas

Identificadores relacionados

CVE-2008-5983
RHSA-2011:0027
RHSA-2011_0027

Produtos afetados

Python
Red Hat