Vulnerability 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).
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Redhat | Insights-Client | < 3.2.2 |
| Redhat | Enterprise Linux | 7.0 |
| Redhat | Enterprise Linux Aus | 8.6 |
| Redhat | Enterprise Linux Desktop | 7.0 |
| Redhat | Enterprise Linux Eus | 8.6 |
| Redhat | Enterprise Linux For Arm 64 | 8.0 |
| Redhat | Enterprise Linux For Arm 64 Eus | 8.6 |
| Redhat | Enterprise Linux For Ibm Z Systems | 7.0 |
| Redhat | Enterprise Linux For Ibm Z Systems Eus | 8.6 |
| Redhat | Enterprise Linux For Power Big Endian | 7.0 |
| Redhat | Enterprise Linux For Power Little Endian | 7.0 |
| Redhat | Enterprise Linux For Power Little Endian Eus | 8.6 |
| Redhat | Enterprise Linux For Scientific Computing | 7.0 |
| Redhat | Enterprise Linux Server | 7.0 |
| Redhat | Enterprise Linux Server Aus | 8.2 |
| Redhat | Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions | 8.1 |
| Redhat | Enterprise Linux Server Tus | 8.2 |
| Redhat | Enterprise Linux Server Update Services For Sap Solutions | 9.2 |
| Redhat | Enterprise Linux Update Services For Sap Solutions | 8.1 |
Related Weaknesses (CWE)
References
- https://access.redhat.com/errata/RHSA-2023:6264Vendor Advisory
- https://access.redhat.com/errata/RHSA-2023:6282Vendor Advisory
- https://access.redhat.com/errata/RHSA-2023:6283Vendor Advisory
- https://access.redhat.com/errata/RHSA-2023:6284Vendor Advisory
- https://access.redhat.com/errata/RHSA-2023:6795Vendor Advisory
- https://access.redhat.com/errata/RHSA-2023:6796Vendor Advisory
- https://access.redhat.com/errata/RHSA-2023:6798Vendor Advisory
- https://access.redhat.com/errata/RHSA-2023:6811Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2023-3972Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2227027Issue TrackingVendor Advisory
- https://github.com/RedHatInsights/insights-core/pull/3878Patch
- https://access.redhat.com/errata/RHSA-2023:6264Vendor Advisory
- https://access.redhat.com/errata/RHSA-2023:6282Vendor Advisory
- https://access.redhat.com/errata/RHSA-2023:6283Vendor Advisory
- https://access.redhat.com/errata/RHSA-2023:6284Vendor Advisory
FAQ
What is CVE-2023-3972?
CVE-2023-3972 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 escalati...
How severe is CVE-2023-3972?
CVE-2023-3972 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-3972?
Check the references section above for vendor advisories and patch information. Affected products include: Redhat Insights-Client, Redhat Enterprise Linux, Redhat Enterprise Linux Aus, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Eus.