cryspen/libcrux · Security
libcrux incorrectly calculates on aarch64
- GHSA ID
- GHSA-2cgv-28vr-rv6j
- Severity
- high
- Published
- Updated
- CVSS v4
- 8.8 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
Description
On platforms without the core::arch::aarch64::vxarq_u64 intrinsic, an unverified fallback in libcrux-intrinsics v0.0.3
passed incorrect arguments and produced wrong results. This corrupted SHA-3 digests and caused libcrux-ml-kem and
libcrux-ml-dsa to sample incorrectly, yielding incorrect shared secrets and invalid signatures.
The issue has been fixed in v0.0.4.
CWEs
- CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor
- CWE-327 · Use of a Broken or Risky Cryptographic Algorithm