CVE-2024-50382

MEDIUM EPSS 41.7%
Published Oct 23, 20241y ago · Modified Jun 17, 20262w ago
5.9 CVSS 3.1
Medium
Find Similar
Published Oct 23, 2024 1y ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
5.9
Exploitability
2.2
Impact
3.6
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack Vector Network
Attack Complexity High
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity None
Availability None

Threat Intelligence

EPSS Exploit Probability
41.7% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 1

CWE-203

Affected Products 1

VendorProductVersionRange
botan_projectbotan* <3.6.0

References 4

  • arxiv.org https://arxiv.org/pdf/2410.13489
    ExploitTechnical DescriptionThird Party Advisory
  • github.com https://github.com/randombit/botan/commit/53b0cfde580e86b03d0d27a488b6c134f662e957
    Patch
  • github.com https://github.com/randombit/botan/compare/3.5.0...3.6.0
    Product
  • news.ycombinator.com https://news.ycombinator.com/item?id=41887153
    Issue Tracking

Remediation

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