Skip to content
OpenAdvisories
Medium · 5.9 CVE-2024-50383 EUVD-2024-44836GHSA-m6p4-vhgw-8c9c

Botan before 3.6.0, when certain GCC versions are used, has a compiler-induced secret-dependent operation in lib/utils/donna128.h in donna1…

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

Description

Botan before 3.6.0, when certain GCC versions are used, has a compiler-induced secret-dependent operation in lib/utils/donna128.h in donna128 (used in Chacha-Poly1305 and x25519). An addition can be skipped if a carry is not set. This was observed for GCC 11.3.0 with -O2 on MIPS, and GCC on x86-i386. (Only 32-bit processors can be affected.)

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 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 2

References