PT-2018-15493 · Rust · Safe-Transmute

Enet4

+1

·

Publicado

2018-11-27

·

Atualizado

2021-08-25

·

CVE-2018-21000

CVSS v3.1

9.8

Crítica

VetorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions safe-transmute crate versions prior to 0.10.1
Description An issue was discovered in the safe-transmute crate where a constructor's arguments are in the wrong order, causing heap memory corruption. The affected versions of this crate switched the length and capacity arguments in the Vec::from raw parts() constructor, which could lead to memory corruption or data leakage.
Recommendations For versions prior to 0.10.1, update to version 0.10.1 or later to fix the issue. As a temporary workaround, consider using the Vec::from raw parts() constructor correctly by ensuring the length and capacity arguments are in the correct order until a patch is available.

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

CVE-2018-21000
GHSA-2V78-J59H-FMPF
RUSTSEC-2018-0013

Produtos afetados

Safe-Transmute