[Forgot Password]
Login  Register Subscribe

30481

 
 

423868

 
 

255227

 
 

909

 
 

198741

 
 

282

Paid content will be excluded from the download.


Download | Alert*
OVAL

ALAS2-2022-1816 --- rust

ID: oval:org.secpod.oval:def:1700939Date: (C)2022-07-20   (M)2023-11-13
Class: PATCHFamily: unix




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 if the borrowed string changes after its length is checked. 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 . This bug could lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait. In the standard library in Rust before 1.52.0, the Zip implementation calls __iterator_get_unchecked more than once for the same index 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. 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. 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

Platform:
Amazon Linux 2
Product:
rust
cargo
rls
clippy
Reference:
ALAS2-2022-1816
CVE-2020-36323
CVE-2021-28876
CVE-2021-28878
CVE-2021-28879
CVE-2021-31162
CVE    5
CVE-2021-28878
CVE-2021-28879
CVE-2021-28876
CVE-2021-31162
...

© SecPod Technologies