CVE-2023-3972
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).
How to fix
- redhat insights-client3.2.2 or later
- access.redhat.com/errata/RHSA-2023:6264
- access.redhat.com/errata/RHSA-2023:6282
- access.redhat.com/errata/RHSA-2023:6283
- access.redhat.com/errata/RHSA-2023:6284
- access.redhat.com/errata/RHSA-2023:6795
- access.redhat.com/errata/RHSA-2023:6796
- access.redhat.com/errata/RHSA-2023:6798
- access.redhat.com/errata/RHSA-2023:6811
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat insights-client | v < 3.2.2 | 3.2.2 |
| 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 | — |
| redhat enterprise_linux_for_arm_64_eus | 8.6, 8.8, 9.0, 9.2 | — |
| 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 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 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.