PT-2021-17972
CVE-2021-28876
·
Published
2021-04-11
·
Updated
2022-11-03
Description by
CVSS 3.1
5.3
MediumMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions:
Rust versions prior to 1.52.0
Description:
The issue is related to a panic safety problem in the Zip implementation of the Rust standard library. It occurs when the underlying iterator panics under certain conditions, causing
iterator get unchecked() to be called more than once for the same index. This can lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait.Recommendations:
For versions prior to 1.52.0, update to version 1.52.0 or later to resolve the issue.
As a temporary workaround, consider avoiding the use of the Zip implementation in the standard library until a patch is available.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾