PT-2020-17535

CVE-2020-35903

·

Published

2020-09-27

·

Updated

2021-08-25

Description by

CVSS 3.1
5.5
Medium
MetricsAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions dync crate versions prior to 0.5.0
Description An issue in the dync crate allows misaligned element access because the type in question is not always u8. Specifically, 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.
Recommendations For versions prior to 0.5.0, update to version 0.5.0 or later, which resolves the issue by replacing the Vec storage with a custom managed pointer that stores and retrieves elements using types with proper alignment corresponding to the original types.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Weakness enumeration
Related identifiers
GHSA-QXJQ-V4WF-PPVH
RUSTSEC-2020-0050
Found an issue in the description? Have something to add? Feel free to write us 👾