Medium, CVSS 5.5crates.ioPublished
Out of bounds read in dync
CVE-2020-35903 · GHSA-qxjq-v4wf-ppvh
- Affected
- crates.io dync < 0.5.0
- Fixed in
- 0.5.0· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 0.5.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.