Insecure temporary file in socat - CVE-2024-54661

 

Insecure temporary file in socat - CVE-2024-54661

Published: December 16, 2024


Vulnerability identifier: #VU101797
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-54661
CWE-ID: CWE-377
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to overwrite arbitrary files on the system.

The vulnerability exists due to usage of a predictable temporary file name in readline.sh. A local user can create a symbolic link from the temporary file to an arbitrary files on the system and overwrite it with the application's output, corrupting the file.


Affected software

socat
Storage Defender – Data Protect
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
openSUSE Leap Micro
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Anolis OS
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Basesystem Module
openSUSE Leap
openEuler
Fedora
Netcool Operations Insight
Ansible Automation Platform
APEX Cloud Platform for Red Hat OpenShift
IBM Qradar SIEM
Dell EMC VxRail Appliance
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
socat-debugsource
socat
socat-debuginfo
socat (Red Hat package)
socat-doc
socat-help
socat-extra
IBM Cloud Pak for Multicloud Management
Red Hat OpenShift Container Platform

How to mitigate CVE-2024-54661

Install updates from vendor's website.

socat - update to 1.8.0.2
Netcool Operations Insight - update to 1.6.15
Storage Defender – Data Protect - update to 2.1.0
IBM Qradar SIEM - update to 7.5.0 Update Pack 13 IF01
Dell EMC VxRail Appliance - update to 8.321
socat-debugsource - addressed in versions 1.7.2.4-4.3.1, 1.7.3.2-150000.6.3.1, 1.8.0.0-150400.14.6.1, 1.8.0.0-150600.20.6.1
socat - addressed in versions 1.7.2.4-4.3.1, 1.7.3.2-150000.6.3.1, 1.8.0.0-150400.14.6.1, 1.8.0.0-150600.20.6.1
socat-debuginfo - addressed in versions 1.7.2.4-4.3.1, 1.7.3.2-150000.6.3.1, 1.8.0.0-150400.14.6.1, 1.8.0.0-150600.20.6.1
socat (Red Hat package) - addressed in versions 1.7.4.1-2.el8_10, 1.7.4.1-5.el9_2.2, 1.7.4.1-5.el9_4.3, 1.7.4.1-6.el9_6.1
socat - addressed in versions 1.7.4.1-2.0.1, 1.8.0.2-1
socat-doc - addressed in versions 1.7.4.1-2.0.1, 1.8.0.2-1
socat - update to 1.8.0.0-3
socat-debuginfo - update to 1.8.0.0-3
socat-debugsource - update to 1.8.0.0-3
socat-help - update to 1.8.0.0-3
socat-extra - addressed in versions 1.8.0.0-150400.14.6.1, 1.8.0.0-150600.20.6.1
socat - addressed in versions 1.8.0.3-1.fc41, 1.8.0.3-1.fc42, 1.8.0.3-1.fc43
IBM Cloud Pak for Multicloud Management - update to 2.3 Fix Pack 12
Ansible Automation Platform - update to 2.5
APEX Cloud Platform for Red Hat OpenShift - update to 03.02.04.00
Red Hat OpenShift Container Platform - addressed in versions 4.14.54, 4.14.55, 4.15.56, 4.16.44, 4.16.45, 4.17.36, 4.18.20, 4.19.4

External References

Related Security Bulletins