Vulnerability · Published Oct 23, 2024 · Assigned by mitre

CVE-2024-50382

Medium 5.9

In plain English

A medium-severity security flaw in the botan package (Debian). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)0.5%top 53.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12botan2.19.3+dfsg-1+deb12u1DEBIAN-CVE-2024-50382
Debian:13botan2.19.5+dfsg-3DEBIAN-CVE-2024-50382
Ubuntu:22.04:LTSoscarno fix listedUBUNTU-CVE-2024-50382
Ubuntu:24.04:LTSoscarno fix listedUBUNTU-CVE-2024-50382
Ubuntu:25.10oscarno fix listedUBUNTU-CVE-2024-50382
Ubuntu:26.04:LTSoscarno fix listedUBUNTU-CVE-2024-50382
Ubuntu:26.10oscarno fix listedUBUNTU-CVE-2024-50382

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-203 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

References