CVE-2024-50382

Name
CVE-2024-50382
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
https://github.com/randombit/botan/commit/53b0cfde580e86b03d0d27a488b6c134f662e957
https://github.com/randombit/botan/compare/3.5.0...3.6.0
https://arxiv.org/pdf/2410.13489
https://news.ycombinator.com/item?id=41887153

Match rules

CPE URI Source package Min version Max version
n/a == n/a == n/a
cpe:2.3:a:botan_project:botan:*:*:*:*:*:*:*:* botan >= 0 < 3.6.0

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
botan edge-main 2.19.5-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
botan 3.20-main 2.19.5-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
botan 3.19-main 2.19.5-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
botan 3.18-main 2.19.5-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
botan 3.17-main 2.19.5-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable