5.9medium
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…
- Severity
- 5.9medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.55% (higher than 47% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.)
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| botan_project botan | before 3.6.0 | CVE List, NVD |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.)
NVD (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).
References
| https://github.com/randombit/botan/commit/53b0cfde580e86b03d0d27a488b6c134f662e957 | patch | |
| https://github.com/randombit/botan/compare/3.5.0...3.6.0 | product | |
| https://arxiv.org/pdf/2410.13489 | exploit, technical-description, third-party-advisory | |
| https://news.ycombinator.com/item?id=41887153 | issue-tracking | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-50383 changed 2024-10-24 | CVE Terms of Use |
| NVD | CVE-2024-50383 changed 2026-06-17 | Public domain |