Lucene search

K
rustsecRustsecRUSTSEC-2020-0145
HistoryNov 02, 2020 - 12:00 p.m.

Use-after-free when cloning a partially consumed `Vec` iterator

2020-11-0212:00:00
rustsec.org
7

0.001 Low

EPSS

Percentile

45.7%

The IntoIter Clone implementation clones the whole underlying Vec.
If the iterator is partially consumed the consumed items will be copied, thus creating a use-after-free access.

A proof of concept is available in the original bug report.

CPENameOperatorVersion
heaplesslt0.6.1

0.001 Low

EPSS

Percentile

45.7%

Related for RUSTSEC-2020-0145