UBUNTU-CVE-2021-28878
Dashboard / Vulnerabilities / UBUNTU-CVE-2021-28878
Summary:
Details: In the standard library in Rust before 1.52.0, the Zip implementation calls __iterator_get_unchecked() more than once for the same index (under certain conditions) when next_back() and next() are used together. This bug could lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait.
References: https://ubuntu.com/security/CVE-2021-28878, https://github.com/rust-lang/rust/issues/82291, https://github.com/rust-lang/rust/pull/82292, https://www.cve.org/CVERecord?id=CVE-2021-28878
Affected packages
Package
Name: rustc
Purl: pkg:deb/ubuntu/[email protected]+dfsg1+llvm-2ubuntu1~14.04.1ubuntu1?arch=source&distro=trusty/esm
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 0
Fixed -None
Affected versions
1.15.1+dfsg0-1~exp1ubuntu2~14.04.7
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
