Skip to content
OpenAdvisories
Medium · 5.9 CVE-2024-50382 EUVD-2024-44835GHSA-p27h-83pf-6hh9

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…

Published Oct 23, 2024 · Updated Oct 24, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 13 botan 2.19.5+dfsg-3 —
Debian 12 botan 2.19.3+dfsg-1+deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 oscar No fix yet —
Ubuntu 26.04 LTS oscar No fix yet —
Ubuntu 25.10 oscar No fix yet —
Ubuntu 24.04 LTS oscar No fix yet —
Ubuntu 22.04 LTS oscar No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS botan +1 No fix yet —
Ubuntu 18.04 LTS botan No fix yet —
Ubuntu Pro 24.04 LTS botan 2.19.3+dfsg-1ubuntu2+esm1 USN-7586-1
Ubuntu Pro 22.04 LTS botan 2.19.1+dfsg-2ubuntu1+esm1 USN-7586-1
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP6 Botan 2.19.5-bp156.3.6.1 openSUSE-SU-2024:0343-1
SUSE Package Hub 15 SP5 Botan 2.19.5-bp156.3.6.1 openSUSE-SU-2024:0343-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed Botan 3.6.0-1.1 openSUSE-SU-2024:14429-1
openSUSE Leap 15.6 Botan 2.19.5-bp156.3.6.1 openSUSE-SU-2024:0343-1
openSUSE Leap 15.5 Botan 2.19.5-bp156.3.6.1 openSUSE-SU-2024:0343-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 botan2 No fix yet —
Azure Linux 2 (CBL-Mariner) botan2 No fix yet —

Advisories 3

References