GHSA-qxjq-v4wf-ppvh
Dashboard / Vulnerabilities / GHSA-qxjq-v4wf-ppvh
GHSA-qxjq-v4wf-ppvh
Published: 25 Aug 2021Last Modified: 8 Nov 2023
Aliases:
Summary: Out of bounds read in dync
Details: 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.
References: https://nvd.nist.gov/vuln/detail/CVE-2020-35903, https://github.com/elrnv/dync/issues/4, https://github.com/elrnv/dync, https://rustsec.org/advisories/RUSTSEC-2020-0050.html
Affected packages
Package
Name: dync
Purl: pkg:cargo/dync
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -0.5.0
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
