CVE-2023-3972

published 1 Nov 2023 · updated 7 Nov 2026

Insights-client: unsafe handling of temporary files and directories

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.2.2.

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).

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Red HatEnterprise Linux
redhatenterprise_linux_for_arm_64_eus=9.0, =9.2, =8.6, =8.8
redhatenterprise_linux_for_ibm_z_systems=7.0, =8.0, =9.0
redhatenterprise_linux_for_ibm_z_systems_eus=8.6, =8.8, =9.0, =9.2
redhatenterprise_linux_for_power_big_endian=7.0
redhatenterprise_linux_for_power_little_endian=7.0, =8.0, =9.0
redhatenterprise_linux_for_power_little_endian_eus=8.6, =8.8, =9.2
redhatenterprise_linux_for_scientific_computing=7.0
redhatenterprise_linux_server=7.0
redhatenterprise_linux_server_aus=8.2, =8.4, =9.2
redhatenterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions=8.1, =8.2, =8.4, =8.6, =8.8, =9.0, =9.2
redhatinsights-client<3.2.23.2.2
redhatenterprise_linux_server_tus=8.2, =8.4, =8.6, =8.8
redhatenterprise_linux_server_update_services_for_sap_solutions=9.2
redhatenterprise_linux_update_services_for_sap_solutions=8.1, =8.2, =8.4, =8.6, =8.8
redhatenterprise_linux=7.0, =8.0, =9.0
redhatenterprise_linux_aus=8.6
redhatenterprise_linux_desktop=7.0
redhatenterprise_linux_eus=8.6, =8.8, =9.0, =9.2
redhatenterprise_linux_for_arm_64=8.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Red Hat, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-3972 severity on Zeptric[![CVE-2023-3972](https://zeptric.io/badge/cve/CVE-2023-3972.svg)](https://zeptric.io/cve/CVE-2023-3972)