Insights-client: unsafe handling of temporary files and directories
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
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Red Hat | Enterprise Linux | ||
| redhat | enterprise_linux_for_arm_64_eus | =9.0, =9.2, =8.6, =8.8 | |
| redhat | enterprise_linux_for_ibm_z_systems | =7.0, =8.0, =9.0 | |
| redhat | enterprise_linux_for_ibm_z_systems_eus | =8.6, =8.8, =9.0, =9.2 | |
| redhat | enterprise_linux_for_power_big_endian | =7.0 | |
| redhat | enterprise_linux_for_power_little_endian | =7.0, =8.0, =9.0 | |
| redhat | enterprise_linux_for_power_little_endian_eus | =8.6, =8.8, =9.2 | |
| redhat | enterprise_linux_for_scientific_computing | =7.0 | |
| redhat | enterprise_linux_server | =7.0 | |
| redhat | enterprise_linux_server_aus | =8.2, =8.4, =9.2 | |
| redhat | enterprise_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 | |
| redhat | insights-client | <3.2.2 | 3.2.2 |
| redhat | enterprise_linux_server_tus | =8.2, =8.4, =8.6, =8.8 | |
| redhat | enterprise_linux_server_update_services_for_sap_solutions | =9.2 | |
| redhat | enterprise_linux_update_services_for_sap_solutions | =8.1, =8.2, =8.4, =8.6, =8.8 | |
| redhat | enterprise_linux | =7.0, =8.0, =9.0 | |
| redhat | enterprise_linux_aus | =8.6 | |
| redhat | enterprise_linux_desktop | =7.0 | |
| redhat | enterprise_linux_eus | =8.6, =8.8, =9.0, =9.2 | |
| redhat | enterprise_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