PT-2013-2141 · Ruby · Ruby Parser

Michael Scherer

·

Publicado

2013-03-01

·

Atualizado

2023-02-13

·

CVE-2013-0162

CVSS v2.0

2.1

Baixa

VetorAV:L/AC:L/Au:N/C:N/I:P/A:N
Name of the Vulnerable Software and Affected Versions ruby parser gem versions 3.1.1 and earlier
Description The issue allows local users to overwrite arbitrary files via a symlink attack on a temporary file with a predictable name in /tmp. This is due to the diff pp function in lib/gauntlet rubyparser.rb.
Recommendations For ruby parser gem versions 3.1.1 and earlier, consider restricting access to the diff pp function in lib/gauntlet rubyparser.rb until a patch is available. As a temporary workaround, avoid using the diff pp function to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

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

Enumeração de Fraquezas

Identificadores relacionados

CVE-2013-0162
GHSA-8MVW-22R7-W6FQ
RHSA-2013:0582

Produtos afetados

Ruby Parser