CVE-2023-3972
Summary
| CVE | CVE-2023-3972 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-11-01 16:15:00 UTC |
| Updated | 2023-11-09 19:40:00 UTC |
| 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). |
Risk And Classification
Problem Types: CWE-668
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Red Hat | access.redhat.com | ||
| Red Hat | MISC | access.redhat.com | |
| Red Hat | MISC | access.redhat.com | |
| Red Hat | access.redhat.com | ||
| Red Hat | MISC | access.redhat.com | |
| Red Hat | MISC | access.redhat.com | |
| feat: improve temp directories by ahitacat · Pull Request #3878 · RedHatInsights/insights-core · GitHub | MISC | github.com | |
| Red Hat | access.redhat.com | ||
| cve-details | MISC | access.redhat.com | |
| Red Hat | access.redhat.com | ||
| 2227027 – (CVE-2023-3972) CVE-2023-3972 insights-client: unsafe handling of temporary files and directories | MISC | bugzilla.redhat.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 242269 Red Hat Update for insights-client (RHSA-2023:6264)
- 242273 Red Hat Update for insights-client (RHSA-2023:6283)
- 242274 Red Hat Update for insights-client (RHSA-2023:6284)
- 242275 Red Hat Update for insights-client (RHSA-2023:6282)
- 242336 Red Hat Update for insights-client (RHSA-2023:6798)
- 242341 Red Hat Update for insights-client (RHSA-2023:6795)
- 242342 Red Hat Update for insights-client (RHSA-2023:6796)
- 242384 Red Hat Update for insights-client (RHSA-2023:6811)