Vulnerability Description
Botan before 3.6.0, when certain LLVM versions are used, has compiler-induced secret-dependent control flow in lib/utils/ghash/ghash.cpp in GHASH in AES-GCM. There is a branch instead of an XOR with carry. This was observed for Clang in LLVM 15 on RISC-V.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Botan Project | Botan | < 3.6.0 |
Related Weaknesses (CWE)
References
- https://arxiv.org/pdf/2410.13489ExploitTechnical DescriptionThird Party Advisory
- https://github.com/randombit/botan/commit/53b0cfde580e86b03d0d27a488b6c134f662e9Patch
- https://github.com/randombit/botan/compare/3.5.0...3.6.0Product
- https://news.ycombinator.com/item?id=41887153Issue Tracking
FAQ
What is CVE-2024-50382?
CVE-2024-50382 is a vulnerability with a CVSS score of 5.9 (MEDIUM). Botan before 3.6.0, when certain LLVM versions are used, has compiler-induced secret-dependent control flow in lib/utils/ghash/ghash.cpp in GHASH in AES-GCM. There is a branch instead of an XOR with c...
How severe is CVE-2024-50382?
CVE-2024-50382 has been rated MEDIUM with a CVSS base score of 5.9/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-50382?
Check the references section above for vendor advisories and patch information. Affected products include: Botan Project Botan.