CVE-2023-3972
published high CVSS 3.1 · 7.8Insights-client: unsafe handling of temporary files and directories
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 7 | insights-client0:3.1.9-1.el7_9 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 8 | insights-client0:3.2.2-1.el8_8 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | insights-clientRed Hat Enterprise Linux 8.1 Update Services for SAP Solutions · 0:3.2.3-1.el8_1 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | insights-clientRed Hat Enterprise Linux 8.2 Advanced Update Support · 0:3.2.3-1.el8_2 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | RHEL-7 | insights-clientnoarch | Advisory build | 3.1.9-1.el7_9 | RHSA-2023:6795 |
| Red Hat Enterprise Linux | RHEL-7 | insights-clientsrc | Advisory build | 3.1.9-1.el7_9 | RHSA-2023:6795 |
| Red Hat Enterprise Linux | RHEL-8 | insights-clientnoarch | Advisory build | 3.2.2-1.el8_6 | RHSA-2023:6284 |
| Red Hat Enterprise Linux | RHEL-8 | insights-clientnoarch | Advisory build | 3.2.2-1.el8_8 | RHSA-2023:6283 |
Show 21 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | insights-clientRed Hat Enterprise Linux 8.2 Telecommunications Update Service · 0:3.2.3-1.el8_2 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | insights-clientRed Hat Enterprise Linux 8.2 Update Services for SAP Solutions · 0:3.2.3-1.el8_2 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | insights-clientRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support · 0:3.2.3-1.el8_4 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | insights-clientRed Hat Enterprise Linux 8.4 Telecommunications Update Service · 0:3.2.3-1.el8_4 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | insights-clientRed Hat Enterprise Linux 8.4 Update Services for SAP Solutions · 0:3.2.3-1.el8_4 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | insights-clientRed Hat Enterprise Linux 8.6 Extended Update Support · 0:3.2.2-1.el8_6 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 9 | insights-client0:3.2.2-1.el9_2 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | insights-clientRed Hat Enterprise Linux 9.0 Extended Update Support · 0:3.2.2-1.el9_0 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 6 | insights-client | Unknown | Not stated | redhat |
| Red Hat Enterprise Linux | RHEL-8 | insights-clientnoarch | Advisory build | 3.2.3-1.el8_1 | RHSA-2023:6811 |
| Red Hat Enterprise Linux | RHEL-8 | insights-clientnoarch | Advisory build | 3.2.3-1.el8_2 | RHSA-2023:6264 |
| Red Hat Enterprise Linux | RHEL-8 | insights-clientnoarch | Advisory build | 3.2.3-1.el8_4 | RHSA-2023:6798 |
| Red Hat Enterprise Linux | RHEL-8 | insights-clientsrc | Advisory build | 3.2.2-1.el8_6 | RHSA-2023:6284 |
| Red Hat Enterprise Linux | RHEL-8 | insights-clientsrc | Advisory build | 3.2.2-1.el8_8 | RHSA-2023:6283 |
| Red Hat Enterprise Linux | RHEL-8 | insights-clientsrc | Advisory build | 3.2.3-1.el8_1 | RHSA-2023:6811 |
| Red Hat Enterprise Linux | RHEL-8 | insights-clientsrc | Advisory build | 3.2.3-1.el8_2 | RHSA-2023:6264 |
| Red Hat Enterprise Linux | RHEL-8 | insights-clientsrc | Advisory build | 3.2.3-1.el8_4 | RHSA-2023:6798 |
| Red Hat Enterprise Linux | RHEL-9 | insights-clientnoarch | Advisory build | 3.2.2-1.el9_0 | RHSA-2023:6796 |
| Red Hat Enterprise Linux | RHEL-9 | insights-clientnoarch | Advisory build | 3.2.2-1.el9_2 | RHSA-2023:6282 |
| Red Hat Enterprise Linux | RHEL-9 | insights-clientsrc | Advisory build | 3.2.2-1.el9_0 | RHSA-2023:6796 |
| Red Hat Enterprise Linux | RHEL-9 | insights-clientsrc | Advisory build | 3.2.2-1.el9_2 | RHSA-2023:6282 |
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 7 | 0:3.1.9-1.el7_9 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | 0:3.2.2-1.el8_8 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions | 0:3.2.3-1.el8_1 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.2 Advanced Update Support | 0:3.2.3-1.el8_2 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.2 Telecommunications Update Service | 0:3.2.3-1.el8_2 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions | 0:3.2.3-1.el8_2 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | 0:3.2.3-1.el8_4 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.4 Telecommunications Update Service | 0:3.2.3-1.el8_4 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | 0:3.2.3-1.el8_4 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support | 0:3.2.2-1.el8_6 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 0:3.2.2-1.el9_2 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9.0 Extended Update Support | 0:3.2.2-1.el9_0 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unknown | redhat · cna |
Weaknesses
2- CWE-379 Creation of Temporary File in Directory with Insecure Permissions
- CWE-379 CWE-379 Creation of Temporary File in Directory with Insecure Permissions
References
11- RHSA-2023:6264 https://access.redhat.com/errata/RHSA-2023:6264
- RHSA-2023:6282 https://access.redhat.com/errata/RHSA-2023:6282
- RHSA-2023:6283 https://access.redhat.com/errata/RHSA-2023:6283
- RHSA-2023:6284 https://access.redhat.com/errata/RHSA-2023:6284
- RHSA-2023:6795 https://access.redhat.com/errata/RHSA-2023:6795
- RHSA-2023:6796 https://access.redhat.com/errata/RHSA-2023:6796
- RHSA-2023:6798 https://access.redhat.com/errata/RHSA-2023:6798
- RHSA-2023:6811 https://access.redhat.com/errata/RHSA-2023:6811
- https://access.redhat.com/security/cve/CVE-2023-3972
- RHBZ#2227027 https://bugzilla.redhat.com/show_bug.cgi?id=2227027
- https://github.com/RedHatInsights/insights-core/pull/3878
Provider assertions
3redhat · cna
Insights-client: unsafe handling of temporary files and directories
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 50af97d00df93215cfb6292cb6f2af3d016778c62f6489791229ecb61e29258c
- Ingested
- 07 Nov 2026, 23:11:01 UTC
- Source record
- Official CVE record