Lucene search

K
osvGoogleOSV:RUSTSEC-2020-0050
HistorySep 27, 2020 - 12:00 p.m.

VecCopy allows misaligned access to elements

2020-09-2712:00:00
Google
osv.dev
5

0.0004 Low

EPSS

Percentile

12.8%

VecCopy::data is created as a Vec of u8 but can be used to store and retrieve
elements of different types leading to misaligned access.

The issue was resolved in v0.5.0 by replacing data being stored by Vec<u8> with a custom managed
pointer. Elements are now stored and retrieved using types with proper alignment corresponding to
original types.

CPENameOperatorVersion
dynclt0.5.0

0.0004 Low

EPSS

Percentile

12.8%

Related for OSV:RUSTSEC-2020-0050