GHSA-qxjq-v4wf-ppvhMediumCVSS 5.5

Out of bounds read in dync

Published
August 25, 2021
Last Modified
June 13, 2023

🔗 CVE IDs covered (1)

📋 Description

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 with a custom managed pointer. Elements are now stored and retrieved using types with proper alignment corresponding to original types.

🎯 Affected products1

  • rust/dync:< 0.5.0

🔗 References (4)