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 s...
MediumCVSS 5.9
EPSS 0.55%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.)
Upgrade path
9 packages: 5 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/oscar(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/oscar(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/oscar(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/oscar(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| botan project botan | < 3.6.0 | 3.6.0 | Fixed |
| debian/botan(Debian 12) | < 2.19.3+dfsg-1+deb12u1; = 2.19.3+dfsg-1 | 2.19.3+dfsg-1+deb12u1 | Fixed |
| debian/botan(Debian 13) | < 2.19.5+dfsg-3 | 2.19.5+dfsg-3 | Fixed |
| ubuntu/botan(Ubuntu 22.04) | < 2.19.1+dfsg-2ubuntu1+esm1 | 2.19.1+dfsg-2ubuntu1+esm1 | Fixed |
| ubuntu/botan(Ubuntu 24.04) | < 2.19.3+dfsg-1ubuntu2+esm1 | 2.19.3+dfsg-1ubuntu2+esm1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/botan(Debian:12) | < 2.19.3+dfsg-1+deb12u1 | 2.19.3+dfsg-1+deb12u1 |
| debian/botan(Debian:12) | = 2.19.3+dfsg-1 | No fix listed |
| debian/botan(Debian:13) | < 2.19.5+dfsg-3 | 2.19.5+dfsg-3 |
| ubuntu/oscar(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/botan(Ubuntu:22.04) | < 2.19.1+dfsg-2ubuntu1+esm1 | 2.19.1+dfsg-2ubuntu1+esm1 |
| botan project botan | < 3.6.0 | 3.6.0 |
| ubuntu/oscar(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/botan(Ubuntu:24.04) | < 2.19.3+dfsg-1ubuntu2+esm1 | 2.19.3+dfsg-1ubuntu2+esm1 |
| ubuntu/oscar(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/oscar(Ubuntu:26.10) | All versions | No fix listed |
References
- Debian Security Tracker CVE-2024-50383 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-7586-1 vendor-advisory
- www.cve.org
- github.com patch
- github.com product
- arxiv.org exploit technical-description third-party-advisory
- news.ycombinator.com issue-tracking
- bugs.debian.org issue-tracking