Bug 34391 - botan2 new security issue CVE-2024-50383
Summary: botan2 new security issue CVE-2024-50383
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Security (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact: Sec team
URL:
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2025-06-23 16:57 CEST by Nicolas Salguero
Modified: 2025-11-15 08:16 CET (History)
3 users (show)

See Also:
Source RPM: botan2-2.19.5-1.mga9.src.rpm
CVE: CVE-2024-50383
Status comment:


Attachments

Description Nicolas Salguero 2025-06-23 16:57:20 CEST
Ubuntu has issued an advisory on June 23:
https://ubuntu.com/security/notices/USN-7586-1
Nicolas Salguero 2025-06-23 16:57:46 CEST

Status comment: (none) => Patches available from Ubuntu
Source RPM: (none) => botan2-2.19.5-3.mga10.src.rpm
CVE: (none) => CVE-2024-34702, CVE-2024-34703, CVE-2024-39312, CVE-2024-50382, CVE-2024-50383
Whiteboard: (none) => MGA9TOO

Nicolas Salguero 2025-06-23 16:58:13 CEST

Source RPM: botan2-2.19.5-3.mga10.src.rpm => botan2-2.19.5-3.mga10.src.rpm, botan2-2.19.5-1.mga9.src.rpm

Comment 2 Nicolas Salguero 2025-11-13 16:30:41 CET
In fact, CVE-2024-3470[23], CVE-2024-39312 and CVE-2024-50382 are already fixed in version 2.19.5.

Source RPM: botan2-2.19.5-3.mga10.src.rpm, botan2-2.19.5-1.mga9.src.rpm => botan2-2.19.5-4.mga10.src.rpm, botan2-2.19.5-1.mga9.src.rpm
Summary: botan2 new security issues CVE-2024-3470[23], CVE-2024-39312, CVE-2024-5038[23] => botan2 new security issue CVE-2024-50383
CVE: CVE-2024-34702, CVE-2024-34703, CVE-2024-39312, CVE-2024-50382, CVE-2024-50383 => CVE-2024-50383

Comment 3 Nicolas Salguero 2025-11-13 16:43:09 CET
Suggested advisory:
========================

The updated packages fix a security vulnerability:

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). (CVE-2024-50383)

References:
https://ubuntu.com/security/notices/USN-7586-1
========================

Updated packages in core/updates_testing:
========================
botan2-2.19.5-1.1.mga9
botan2-doc-2.19.5-1.1.mga9
lib(64)botan2-devel-2.19.5-1.1.mga9
lib(64)botan2_19-2.19.5-1.1.mga9
python3-botan2-2.19.5-1.1.mga9

from SRPM:
botan2-2.19.5-1.1.mga9.src.rpm

Whiteboard: MGA9TOO => (none)
Version: Cauldron => 9
Status comment: Patches available from Ubuntu => (none)
Status: NEW => ASSIGNED
Source RPM: botan2-2.19.5-4.mga10.src.rpm, botan2-2.19.5-1.mga9.src.rpm => botan2-2.19.5-1.mga9.src.rpm
Assignee: pkg-bugs => qa-bugs

katnatek 2025-11-13 19:49:17 CET

Keywords: (none) => advisory

Comment 4 Herman Viaene 2025-11-14 11:35:15 CET
MGA9-64 server Plasma Wayland on Compaq H000SB
No installation issues.
Ref bug 29659 Comment 5, not forgetting to take the actual botan version in the filename for the doc.
$ echo "Test File" > testbotan.txt
$ botan base64_enc testbotan.txt > testbotancrypt.txt
$ cat testbotancrypt.txt
VGVzdCBGaWxlCg==
$ botan base64_dec testbotancrypt.txt
Test File
$ python3
Python 3.10.18 (main, Nov 10 2025, 10:10:26) [GCC 12.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import botan2
>>> tester = botan2.RandomNumberGenerator()
>>> tested = tester.get(10)
>>> print ("Random number is {}".format(tested))
Random number is b'\x8fN\xfaqRT\xd8\x87\x0b='
>>> quit()

$ lynx /usr/share/doc/botan-2.19.5/handbook/index.html 
Displays OK.
So all seems to work, OK

CC: (none) => herman.viaene
Whiteboard: (none) => MGA9-64-OK

Comment 5 Thomas Andrews 2025-11-15 02:57:21 CET
Validating.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs

Comment 6 Mageia Robot 2025-11-15 08:16:43 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGASA-2025-0295.html

Resolution: (none) => FIXED
Status: ASSIGNED => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.