medium5.5
CVE-2020-35903
Out of bounds read in dync
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rust | dync | < 0.5.0 | 0.5.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Dync Project | Dync | before 0.5.0 |