Bug 33349 - libcdio new security issue CVE-2024-36600
Summary: libcdio new security issue CVE-2024-36600
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: 2024-07-01 15:32 CEST by Nicolas Salguero
Modified: 2024-07-03 18:37 CEST (History)
2 users (show)

See Also:
Source RPM: libcdio-2.1.0-4.mga9.src.rpm
CVE: CVE-2024-36600
Status comment:


Attachments
Outputs of iso-info -i (307.91 KB, text/plain)
2024-07-02 20:04 CEST, katnatek
Details

Description Nicolas Salguero 2024-07-01 15:32:05 CEST
Ubuntu has issued an advisory on June 28:
https://ubuntu.com/security/notices/USN-6855-1

Mageia 9 is also affected.
Nicolas Salguero 2024-07-01 15:32:31 CEST

CVE: (none) => CVE-2024-36600
Whiteboard: (none) => MGA9TOO
Status comment: (none) => Patch available from Ubuntu
Source RPM: (none) => libcdio-2.1.0-4.mga9.src.rpm

Nicolas Salguero 2024-07-01 16:04:51 CEST

Assignee: bugsquad => nicolas.salguero

Comment 1 Nicolas Salguero 2024-07-01 16:27:49 CEST
Suggested advisory:
========================

The updated packages fix a security vulnerability:

Buffer Overflow Vulnerability in libcdio v2.1.0 allows an attacker to execute arbitrary code via a crafted ISO 9660 image file. (CVE-2024-36600)

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

Updated packages in core/updates_testing:
========================
lib(64)cdio++1-2.1.0-4.1.mga9
lib(64)cdio19-2.1.0-4.1.mga9
lib(64)cdio-devel-2.1.0-4.1.mga9
lib(64)iso9660++0-2.1.0-4.1.mga9
lib(64)iso9660_11-2.1.0-4.1.mga9
lib(64)udf0-2.1.0-4.1.mga9
libcdio-apps-2.1.0-4.1.mga9

from SRPM:
libcdio-2.1.0-4.1.mga9.src.rpm

Whiteboard: MGA9TOO => (none)
Version: Cauldron => 9
Assignee: nicolas.salguero => qa-bugs
Status: NEW => ASSIGNED
Status comment: Patch available from Ubuntu => (none)

katnatek 2024-07-01 21:39:04 CEST

Keywords: (none) => advisory

Comment 2 katnatek 2024-07-02 00:18:00 CEST
RH mageia 9 x86_64

LC_ALL=C urpmi --auto --auto-update
medium "QA Testing (32-bit)" is up-to-date
medium "QA Testing (64-bit)" is up-to-date
medium "Core Release (distrib1)" is up-to-date
medium "Core Updates (distrib3)" is up-to-date
medium "Nonfree Release (distrib11)" is up-to-date
medium "Nonfree Updates (distrib13)" is up-to-date
medium "Tainted Release (distrib21)" is up-to-date
medium "Tainted Updates (distrib23)" is up-to-date
medium "Core 32bit Release (distrib31)" is up-to-date
medium "Core 32bit Updates (distrib32)" is up-to-date
medium "Nonfree 32bit Release (distrib36)" is up-to-date
medium "Tainted 32bit Release (distrib41)" is up-to-date
medium "Tainted 32bit Updates (distrib42)" is up-to-date
medium "BDK-Free-x86_64" is up-to-date
medium "BDK-Free-noarch" is up-to-date
medium "BDK-NonFree-x86_64" is up-to-date


installing lib64cdio19-2.1.0-4.1.mga9.x86_64.rpm lib64udf0-2.1.0-4.1.mga9.x86_64.rpm libcdio-apps-2.1.0-4.1.mga9.x86_64.rpm lib64iso9660_11-2.1.0-4.1.mga9.x86_64.rpm from //home/katnatek/qa-testing/x86_64
Preparing...                     ##################################################################################################
      1/4: lib64cdio19           ##################################################################################################
      2/4: lib64udf0             ##################################################################################################
      3/4: lib64iso9660_11       ##################################################################################################
      4/4: libcdio-apps          ##################################################################################################
      1/4: removing libcdio-apps-2.1.0-4.mga9.x86_64
                                 ##################################################################################################
      2/4: removing lib64iso9660_11-2.1.0-4.mga9.x86_64
                                 ##################################################################################################
      3/4: removing lib64udf0-2.1.0-4.mga9.x86_64
                                 ##################################################################################################
      4/4: removing lib64cdio19-2.1.0-4.mga9.x86_64
                                 ##################################################################################################

Iā€™m not sure what to do with POC file

Whiteboard: (none) => MGA9-64-OK
CC: (none) => andrewsfarm

Comment 3 Thomas Andrews 2024-07-02 13:42:08 CEST
Understanding how to test the POC is beyond me, too.

Len Lawrence tested a previous libcdio update in Bug 22740 Comment 4.

Different POCs that time, but it gives some commands for testing function. They would be better than nothing.
Comment 4 katnatek 2024-07-02 19:55:30 CEST
RH mageia 9 x86_64

 iso-info PoC-libcdio-bof.iso 
iso-info version 2.1.0 x86_64-mageia-linux-gnu
Copyright (c) 2003-2005, 2007-2008, 2011-2015, 2017 R. Bernstein
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
__________________________________
ISO 9660 image: PoC-libcdio-bof.iso
Preparer    : XORRISO-1.5.2 2019.10.26.180001, LIBISOBURN-1.5.2, LIBISOFS-1.5.2, LIBBURN-1.5.2
Volume      : Ubuntu 22.04.2 LTS amd64
Joliet Level: 3

The above info was similar before the update

iso-info ~/Descargas/Mageia-8-i586.iso 
iso-info version 2.1.0 x86_64-mageia-linux-gnu
Copyright (c) 2003-2005, 2007-2008, 2011-2015, 2017 R. Bernstein
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
__________________________________
ISO 9660 image: /home/katnatek/Descargas/Mageia-8-i586.iso
Application : GNU xorriso 1.5.0
Preparer    : drakiso
Publisher   : Mageia.Org
System      : Linux
Volume      : Mageia-8-i586
Joliet Level: 3


Can't test the output of cd-info /dev/sr0 because I not have optical drive in this system if you require I'll test on my i586 where I have one
Comment 5 katnatek 2024-07-02 20:04:29 CEST
Created attachment 14581 [details]
Outputs of iso-info -i

With -i the command gives a lot more of info for the mageia image
I put it in attachment
Comment 6 Thomas Andrews 2024-07-03 14:11:15 CEST
Thanks for the extra effort. Validating.

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

Comment 7 Mageia Robot 2024-07-03 18:37:19 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGASA-2024-0252.html

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


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