CVE-2024-50383

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.)
Configurations

Configuration 1 (hide)

cpe:2.3:a:botan_project:botan:*:*:*:*:*:*:*:*

History

10 Jul 2025, 19:26

Type Values Removed Values Added
CPE cpe:2.3:a:botan_project:botan:*:*:*:*:*:*:*:*
First Time Botan Project botan
Botan Project
References () https://arxiv.org/pdf/2410.13489 - () https://arxiv.org/pdf/2410.13489 - Exploit, Third Party Advisory, Technical Description
References () https://github.com/randombit/botan/commit/53b0cfde580e86b03d0d27a488b6c134f662e957 - () https://github.com/randombit/botan/commit/53b0cfde580e86b03d0d27a488b6c134f662e957 - Patch
References () https://github.com/randombit/botan/compare/3.5.0...3.6.0 - () https://github.com/randombit/botan/compare/3.5.0...3.6.0 - Product
References () https://news.ycombinator.com/item?id=41887153 - () https://news.ycombinator.com/item?id=41887153 - Issue Tracking

24 Oct 2024, 20:35

Type Values Removed Values Added
Summary
  • (es) En las versiones anteriores a la 3.6.0 de Botan, cuando se utilizan ciertas versiones de GCC, se produce una operación dependiente del secreto inducida por el compilador en lib/utils/donna128.h en donna128 (usada en Chacha-Poly1305 y x25519). Se puede omitir una adición si no se configura un acarreo. Esto se observó para GCC 11.3.0 con -O2 en MIPS y GCC en x86-i386. (Solo se pueden ver afectados los procesadores de 32 bits).
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.9
CWE CWE-203

23 Oct 2024, 17:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-10-23 17:15

Updated : 2025-07-10 19:26


NVD link : CVE-2024-50383

Mitre link : CVE-2024-50383

CVE.ORG link : CVE-2024-50383


JSON object : View

Products Affected

botan_project

  • botan
CWE
CWE-203

Observable Discrepancy