CVE-2023-3972

High

Description

A vulnerability was found in insights-client. This security issue occurs because of insecure file operations or unsafe handling of temporary files and directories that lead to local privilege escalation. Before the insights-client has been registered on the system by root, an unprivileged local user or attacker could create the /var/tmp/insights-client directory (owning the directory with read, write, and execute permissions) on the system. After the insights-client is registered by root, an attacker could then control the directory content that insights are using by putting malicious scripts into it and executing arbitrary code as root (trivially bypassing SELinux protections because insights processes are allowed to disable SELinux system-wide).

SeverityHigh
CVSS7.8
Exploit probability—
ProductRedhat Insights-client
PublishedNov 1, 2023
First seenNov 1, 2023
Weakness typeCWE-379CWE-379

How to fix

Affected products

ProductAffected versionsFixed in
redhat insights-clientv < 3.2.23.2.2
redhat enterprise_linux7.0, 8.0, 9.0—
redhat enterprise_linux_aus8.6—
redhat enterprise_linux_desktop7.0—
redhat enterprise_linux_eus8.6, 8.8, 9.0, 9.2—
redhat enterprise_linux_for_arm_648.0—
redhat enterprise_linux_for_arm_64_eus8.6, 8.8, 9.0, 9.2—
redhat enterprise_linux_for_ibm_z_systems7.0, 8.0, 9.0—
redhat enterprise_linux_for_ibm_z_systems_eus8.6, 8.8, 9.0, 9.2—
redhat enterprise_linux_for_power_big_endian7.0—
redhat enterprise_linux_for_power_little_endian7.0, 8.0, 9.0—
redhat enterprise_linux_for_power_little_endian_eus8.6, 8.8, 9.2—
redhat enterprise_linux_for_scientific_computing7.0—
redhat enterprise_linux_server7.0—
redhat enterprise_linux_server_aus8.2, 8.4, 9.2—
redhat enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions8.1, 8.2, 8.4, 8.6, 8.8, 9.0, 9.2—
redhat enterprise_linux_server_tus8.2, 8.4, 8.6, 8.8—
redhat enterprise_linux_server_update_services_for_sap_solutions9.2—
redhat enterprise_linux_update_services_for_sap_solutions8.1, 8.2, 8.4, 8.6, 8.8—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.