PT-2021-17973
CVE-2021-28877
·
Published
2021-04-11
·
Updated
2022-11-03
Description by
CVSS 3.1
9.8
CriticalMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions:
Rust versions prior to 1.51.0
Description:
The issue arises from the Zip implementation in the standard library, which calls
iterator get unchecked() for the same index more than once when nested. This can lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait.Recommendations:
For versions prior to 1.51.0, update to version 1.51.0 or later to resolve the issue. As a temporary workaround, consider avoiding nested use of the Zip implementation until a patch is applied.
Found an issue in the description? Have something to add? Feel free to write us 👾