Compiler-Induced Control Flow Vulnerability in Botan by Randombit
CVE-2024-50382
5.9MEDIUM
What is CVE-2024-50382?
Botan versions prior to 3.6.0 exhibit a vulnerability due to certain LLVM compiler versions, specifically impacting the GHASH implementation in AES-GCM. This vulnerability manifests as a secret-dependent control flow flaw in the 'lib/utils/ghash/ghash.cpp' file, which compromises the expected behavior of cryptographic operations. This issue particularly arises when using Clang in LLVM 15 on a RISC-V architecture, leading to erroneous branching instead of the required XOR operation with carry, potentially undermining the security of cryptographic processes.
