Lucene search
+L

7 matches found

Mend
Mend
•added 2024/11/03 10:17 a.m.•2 views

WS-2022-0126

array-macro before 2.1.2 did substitute the array length provided by a user at compile-time multiple times. When an impure constant expression is passed as an array length such as a result of an impure procedural macro, this can result in the initialization of an array with uninitialized types,...

9.8CVSS6.7AI score
SaveExploits0References7
Mend
Mend
•added 2024/11/03 10:17 a.m.•2 views

WS-2020-0445

Affected versions of array-macro crate called some methods using auto-ref. The flaw was corrected by explicitly referencing variables in macro body in order to avoid auto-ref. Versions 1.0.2 are not affected. 1.0.5 fixes the issue...

8.7CVSS5.8AI score
SaveExploits0References6
Github Security Blog
Github Security Blog
•added 2022/06/16 11:40 p.m.•19 views

`array!` macro is unsound in presence of traits that implement methods it calls internally

Affected versions of this crate called some methods using auto-ref. The affected code looked like this. rust let mut arr = $crate::core::mem::MaybeUninit::uninit; let mut vec = $crate::ArrayVec::::newarr.asmutptr as mut T; In this case, the problem is that asmutptr is a method of &mut MaybeUninit...

0.5AI score
SaveExploits0References5Affected Software1
OSV
OSV
•added 2022/06/16 11:40 p.m.•29 views

GHSA-83GG-PWXF-JR89 `array!` macro is unsound in presence of traits that implement methods it calls internally

Affected versions of this crate called some methods using auto-ref. The affected code looked like this. rust let mut arr = $crate::core::mem::MaybeUninit::uninit; let mut vec = $crate::ArrayVec::::newarr.asmutptr as mut T; In this case, the problem is that asmutptr is a method of &mut MaybeUninit...

7.1AI score
SaveExploits0References5
RustSec
RustSec
•added 2022/04/27 12:00 p.m.•23 views

`array!` macro is unsound when its length is impure constant

Affected versions of this crate did substitute the array length provided by an user at compile-time multiple times. When an impure constant expression is passed as an array length such as a result of an impure procedural macro, this can result in the initialization of an array with uninitialized...

3.3AI score
SaveExploits0Affected Software1
OSV
OSV
•added 2022/04/27 12:00 p.m.•20 views

RUSTSEC-2022-0017 `array!` macro is unsound when its length is impure constant

Affected versions of this crate did substitute the array length provided by an user at compile-time multiple times. When an impure constant expression is passed as an array length such as a result of an impure procedural macro, this can result in the initialization of an array with uninitialized...

7.6AI score
SaveExploits0References3
OSV
OSV
•added 2021/08/08 6:15 a.m.•16 views

UBUNTU-CVE-2020-36465

An issue was discovered in the generic-array crate before 0.13.3 for Rust. It violates soundness by using the arr! macro to extend lifetimes...

7.5CVSS5.8AI score0.01243EPSS
SaveExploits1References4
Rows per page
Query Builder