CVE-2024-50382

medium

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.

References

https://news.ycombinator.com/item?id=41887153

https://github.com/randombit/botan/compare/3.5.0...3.6.0

https://github.com/randombit/botan/commit/53b0cfde580e86b03d0d27a488b6c134f662e957

https://arxiv.org/pdf/2410.13489

Details

Source: Mitre, NVD

Published: 2024-10-23

Updated: 2024-10-25

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:N/A:N

Severity: Medium

CVSS v3

Base Score: 5.9

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Severity: Medium