# CVE-2023-3972: Insights-client: unsafe handling of temporary files and directories

- Severity: High 7.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-02)
- Published: 2023-11-01T15:54:52.093Z
- Modified: 2026-11-07T12:17:33.423Z
- Weaknesses: CWE-379, CWE-668
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

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

(As written by CVE List.)

## Affected

- insights-client: no versions given (not affected: from 0:3.1.9-1.el7_9 before *; from 0:3.2.2-1.el8_8 before *; from 0:3.2.3-1.el8_1 before *; from 0:3.2.3-1.el8_2 before *; from 0:3.2.3-1.el8_4 before *; from 0:3.2.2-1.el8_6 before *; from 0:3.2.2-1.el9_2 before *; from 0:3.2.2-1.el9_0 before *)
- redhat insights-client: before 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

## Every score

- redhat: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://access.redhat.com/errata/RHSA-2023:6264> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:6282> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:6283> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:6284> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:6795> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:6796> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:6798> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:6811> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2023-3972> (vdb-entry, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2227027> (issue-tracking, vendor-advisory)
- <https://github.com/RedHatInsights/insights-core/pull/3878> (patch)

## Sources

- CVE List: [CVE-2023-3972](https://www.cve.org/CVERecord?id=CVE-2023-3972), CVE Terms of Use, modified 2026-11-07
- NVD: [CVE-2023-3972](https://nvd.nist.gov/vuln/detail/CVE-2023-3972), Public domain, modified 2026-11-07

---

Page: https://cve.day/CVE-2023-3972 · Whole record: https://cve.day/CVE-2023-3972.json · Rebuilt by cve.day 2026-11-25T22:58:29.903Z
