In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade static-alloc
to version 0.2.6 or higher.
static-alloc is a bump allocator on static memory for the alloc-traits crate.
Affected versions of this package are vulnerable to Use of Uninitialized Resource via the MemBump::new
function. An attacker can trigger undefined behavior and potentially cause assertion failures or violate internal invariants by invoking allocation methods on the resulting object, which may read uninitialized memory.
This vulnerability can be mitigated by calling MemBump::reset
immediately after allocation to manually initialize the counter.