CVEvulnerability
CVE-2024-50383
5.9 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-10-23
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.9 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-203
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.)
Affected configurations
• botan project botan (< 3.6.0)
Related
Weakness · CWE (1)
- CWE-203 Observable Discrepancy weakness
References
- https://arxiv.org/pdf/2410.13489 Exploit, Technical Description, Third Party Advisory
- https://github.com/randombit/botan/commit/53b0cfde580e86b03d0d27a488b6c134f662e957 Patch
- https://github.com/randombit/botan/compare/3.5.0...3.6.0 Product
- https://news.ycombinator.com/item?id=41887153 Issue Tracking