PT-2023-27754

CVE-2023-41039

·

Publicado

2023-08-30

·

Atualizado

2025-03-18

Descrição por

CVSS 3.1
8.3
Alta
MétricasAV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:L
Name of the Vulnerable Software and Affected Versions RestrictedPython versions prior to 5.4 RestrictedPython versions prior to 6.2
Description Python's "format" functionality allows someone controlling the format string to "read" all objects accessible through recursive attribute lookup and subscription from objects he can access. This can lead to critical information disclosure. With RestrictedPython, the format functionality is available via the format and format map methods of str (and unicode) (accessed either via the class or its instances) and via string.Formatter.
Recommendations Upgrade to version 5.4 or later. Upgrade to version 6.2 or later. As a temporary workaround, consider restricting access to the format and format map methods of str (and unicode) until a patch is available. Avoid using the string.Formatter until the issue is resolved. At the moment, there is no other information about additional workarounds for this vulnerability.
Explorabilidade
Exploit
Correção
Impactos
Pesquisadores
Fornecedores
Produtos afetados
Identificadores relacionados
GHSA-XJW2-6JM9-RF67
PYSEC-2023-159
USN-7355-1
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾