Lucene search

K
rustsecRustsecRUSTSEC-2020-0038
HistorySep 03, 2020 - 12:00 p.m.

Memory safety issues in `compact::Vec`

2020-09-0312:00:00
rustsec.org
6

0.001 Low

EPSS

Percentile

45.5%

compact::Vec contains multiple memory safety issues.

  1. It mishandles large capacity and causes out-of-bound access in 32-bit / allocator layout mismatch in 64-bit.
  2. remove() is not panic-safe and causes double-free when an index larger than the length is provided.
CPENameOperatorVersion
ordnungeqany

0.001 Low

EPSS

Percentile

45.5%

Related for RUSTSEC-2020-0038