PT-2019-14267 · Rust · Smallvec
Publicado
2019-06-06
·
Atualizado
2021-08-25
·
CVE-2019-15551
CVSS v3.1
9.8
Crítica
| Vetor | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
smallvec crate versions prior to 0.6.10
Description
An issue in the smallvec crate allows for a double free when attempting to call
grow on a spilled SmallVec with a value equal to the current capacity, potentially leading to use-after-free on subsequent accesses to the SmallVec contents. An attacker controlling the value passed to grow may exploit this to obtain memory contents or gain remote code execution.Recommendations
For versions prior to 0.6.10, update to version 0.6.10 or later to resolve the issue. As a temporary workaround, consider restricting the use of the
grow function on spilled SmallVec instances to minimize the risk of exploitation.Correção
Double Free
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Enumeração de Fraquezas
Identificadores relacionados
Produtos afetados
Smallvec