Lucene search

K
osvGoogleOSV:GHSA-QQMC-HWQP-8G2W
HistoryJun 17, 2022 - 12:11 a.m.

Use after free in lru crate

2022-06-1700:11:13
Google
osv.dev
7
lru crate
use after free
vulnerability
iterator
pop function
reference
key
value

EPSS

0.001

Percentile

46.3%

Lru crate has use after free vulnerability.

Lru crate has two functions for getting an iterator. Both iterators give
references to key and value. Calling specific functions, like pop(), will remove
and free the value, and but it’s still possible to access the reference of value
which is already dropped causing use after free.

EPSS

0.001

Percentile

46.3%