In the standard library in Rust before 1.51.0, the Zip implementation calls __iterator_get_unchecked() for the same index more than once when nested. This bug can lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait.
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
Debian | 12 | all | rustc | < 1.53.0+dfsg1-1 | rustc_1.53.0+dfsg1-1_all.deb |
Debian | 11 | all | rustc | <= 1.48.0+dfsg1-2 | rustc_1.48.0+dfsg1-2_all.deb |
Debian | 10 | all | rustc | <= 1.41.1+dfsg1-1~deb10u1 | rustc_1.41.1+dfsg1-1~deb10u1_all.deb |
Debian | 999 | all | rustc | < 1.53.0+dfsg1-1 | rustc_1.53.0+dfsg1-1_all.deb |
Debian | 13 | all | rustc | < 1.53.0+dfsg1-1 | rustc_1.53.0+dfsg1-1_all.deb |