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 libcrux-sha3 to version 0.0.10 or higher.
Affected versions of this package are vulnerable to Improper Validation of Array Index in the libcrux_sha3::avx2::x4::shake256 function when the output buffer length exceeds 32 and is not a multiple of 8, leading to an out-of-bounds indexing operation. An attacker can cause a panic and potentially disrupt service by providing specially crafted output buffer lengths. This is only exploitable if the code is running on AVX2 platforms and the API is used outside of ML-KEM or ML-DSA with output buffer lengths greater than 32 and not divisible by 8.
This vulnerability can be mitigated by ensuring output buffer lengths are always divisible by 8 when using the affected API.