Heap-based buffer overflow in Grassroots DICOM - CVE-2024-22391

 

Heap-based buffer overflow in Grassroots DICOM - CVE-2024-22391

Published: April 30, 2024


Vulnerability identifier: #VU89065
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-22391
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in the LookupTable::SetLUT functionality. A remote attacker can use a specially crafted file, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Grassroots DICOM
Fedora
Anolis OS
gdcm
gdcm-devel
gdcm-applications
python3-gdcm
gdcm-doc

How to mitigate CVE-2024-22391

Install update from vendor's website.

gdcm - addressed in versions 3.0.12-7.el9, 3.0.21-4.fc38, 3.0.23-5.fc39, 3.0.23-5.fc40, 3.0.23-5.fc41
gdcm-devel - update to 3.0.24-1
gdcm-applications - update to 3.0.24-1
python3-gdcm - update to 3.0.24-1
gdcm - update to 3.0.24-1
gdcm-doc - update to 3.0.24-1

External References

Related Security Bulletins