PT-2009-6301 · Ruby · Ruby
Emmanouel Kellinis
·
Publicado
2009-12-11
·
Atualizado
2017-08-17
·
CVE-2009-4124
CVSS v2.0
10
Alta
| Vetor | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
Ruby versions 1.9.1 before 1.9.1-p376
Description
The issue is a heap-based buffer overflow in the
rb str justify function, allowing context-dependent attackers to execute arbitrary code. This can be achieved via unspecified vectors involving the String#ljust, String#center, or String#rjust functions.Recommendations
For Ruby versions 1.9.1 before 1.9.1-p376, update to version 1.9.1-p376 or later to resolve the issue. As a temporary workaround, consider restricting the use of the
String#ljust, String#center, and String#rjust functions until a patch is applied.Correção
Buffer Overflow
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Enumeração de Fraquezas
Identificadores relacionados
Produtos afetados
Ruby