ALT-PU-2021-1775-1
Closed vulnerabilities
Modified: 2024-11-21
CVE-2020-36323
In the standard library in Rust before 1.52.0, there is an optimization for joining strings that can cause uninitialized bytes to be exposed (or the program to crash) if the borrowed string changes after its length is checked.
- https://github.com/rust-lang/rust/issues/80335
- https://github.com/rust-lang/rust/issues/80335
- https://github.com/rust-lang/rust/pull/81728
- https://github.com/rust-lang/rust/pull/81728
- https://github.com/rust-lang/rust/pull/81728#issuecomment-821549174
- https://github.com/rust-lang/rust/pull/81728#issuecomment-821549174
- https://github.com/rust-lang/rust/pull/81728#issuecomment-824904190
- https://github.com/rust-lang/rust/pull/81728#issuecomment-824904190
- FEDORA-2021-d0ba1901ca
- FEDORA-2021-d0ba1901ca
- FEDORA-2021-d7f74f0250
- FEDORA-2021-d7f74f0250
- FEDORA-2021-b1ba54add6
- FEDORA-2021-b1ba54add6
Modified: 2024-11-21
CVE-2021-28876
In the standard library in Rust before 1.52.0, the Zip implementation has a panic safety issue. It calls __iterator_get_unchecked() more than once for the same index when the underlying iterator panics (in certain conditions). This bug could lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait.
- https://github.com/rust-lang/rust/issues/81740
- https://github.com/rust-lang/rust/issues/81740
- https://github.com/rust-lang/rust/pull/81741
- https://github.com/rust-lang/rust/pull/81741
- FEDORA-2021-d0ba1901ca
- FEDORA-2021-d0ba1901ca
- FEDORA-2021-d7f74f0250
- FEDORA-2021-d7f74f0250
- FEDORA-2021-b1ba54add6
- FEDORA-2021-b1ba54add6
- GLSA-202210-09
- GLSA-202210-09
Modified: 2024-11-21
CVE-2021-28878
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.
- https://github.com/rust-lang/rust/issues/82291
- https://github.com/rust-lang/rust/issues/82291
- https://github.com/rust-lang/rust/pull/82292
- https://github.com/rust-lang/rust/pull/82292
- FEDORA-2021-d0ba1901ca
- FEDORA-2021-d0ba1901ca
- FEDORA-2021-d7f74f0250
- FEDORA-2021-d7f74f0250
- FEDORA-2021-b1ba54add6
- FEDORA-2021-b1ba54add6
- GLSA-202210-09
- GLSA-202210-09
Modified: 2024-11-21
CVE-2021-28879
In the standard library in Rust before 1.52.0, the Zip implementation can report an incorrect size due to an integer overflow. This bug can lead to a buffer overflow when a consumed Zip iterator is used again.
- https://github.com/rust-lang/rust/issues/82282
- https://github.com/rust-lang/rust/issues/82282
- https://github.com/rust-lang/rust/pull/82289
- https://github.com/rust-lang/rust/pull/82289
- FEDORA-2021-d0ba1901ca
- FEDORA-2021-d0ba1901ca
- FEDORA-2021-d7f74f0250
- FEDORA-2021-d7f74f0250
- FEDORA-2021-b1ba54add6
- FEDORA-2021-b1ba54add6
- GLSA-202210-09
- GLSA-202210-09
Modified: 2024-11-21
CVE-2021-31162
In the standard library in Rust before 1.52.0, a double free can occur in the Vec::from_iter function if freeing the element panics.
- https://github.com/rust-lang/rust/issues/83618
- https://github.com/rust-lang/rust/issues/83618
- https://github.com/rust-lang/rust/pull/83629
- https://github.com/rust-lang/rust/pull/83629
- https://github.com/rust-lang/rust/pull/84603
- https://github.com/rust-lang/rust/pull/84603
- FEDORA-2021-d0ba1901ca
- FEDORA-2021-d0ba1901ca
- FEDORA-2021-d7f74f0250
- FEDORA-2021-d7f74f0250
- FEDORA-2021-b1ba54add6
- FEDORA-2021-b1ba54add6
- GLSA-202210-09
- GLSA-202210-09