cve.bz

CVE-2023-3972 redhat: Exposure of Resource to Wrong Sphere

7.8 highEPSS 0.3%Fix available

High (7.8) in redhat. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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).

Severity

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
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 20th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-04-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-668 Exposure of Resource to Wrong Sphere
CWE-379 Creation of Temporary File in Directory with Insecure Permissions
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-3972 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-3972?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-3972?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-3972 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 70:3.1.9-1.el7_9
Red Hat Enterprise Linux 80:3.2.2-1.el8_8
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions0:3.2.3-1.el8_1
Red Hat Enterprise Linux 8.2 Advanced Update Support0:3.2.3-1.el8_2
Red Hat Enterprise Linux 8.2 Telecommunications Update Service0:3.2.3-1.el8_2
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions0:3.2.3-1.el8_2
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:3.2.3-1.el8_4
Red Hat Enterprise Linux 8.4 Telecommunications Update Service0:3.2.3-1.el8_4
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions0:3.2.3-1.el8_4
Red Hat Enterprise Linux 8.6 Extended Update Support0:3.2.2-1.el8_6
Red Hat Enterprise Linux 90:3.2.2-1.el9_2
Red Hat Enterprise Linux 9.0 Extended Update Support0:3.2.2-1.el9_0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationinsights-client0:3.1.9-1.el7_9RHSA-2023:6795
Red Hatenterprise_linux:8::appstreaminsights-client0:3.2.2-1.el8_8RHSA-2023:6283
Red Hatenterprise_linux:9::appstreaminsights-client0:3.2.2-1.el9_2RHSA-2023:6282
Red Hatrhel_aus:8.2::appstream, rhel_e4s:8.2::appstream, rhel_tus:8.2::appstreaminsights-client0:3.2.3-1.el8_2RHSA-2023:6264
Red Hatrhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstreaminsights-client0:3.2.3-1.el8_4RHSA-2023:6798
Red Hatrhel_e4s:8.1::appstreaminsights-client0:3.2.3-1.el8_1RHSA-2023:6811
Red Hatrhel_eus:8.6::appstreaminsights-client0:3.2.2-1.el8_6RHSA-2023:6284
Red Hatrhel_eus:9.0::appstreaminsights-client0:3.2.2-1.el9_0RHSA-2023:6796

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

To exploit this CVE, in normal situations the attacker must have unprivileged access to the system before Insights is run for the first time on the system.

Systems that are already running Insights on a regular frequent schedule should not consider themselves vulnerable. in other words, If Insights is registered before unprivileged users are given access, this specific problem doesn't appear to arise.

Red Hat's mitigation

Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7insights-client-0:3.1.9-1.el7_9Fixed 2023-11-08RHSA-2023:6795
Red Hat Enterprise Linux 8insights-client-0:3.2.2-1.el8_8Fixed 2023-11-02RHSA-2023:6283
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionsinsights-client-0:3.2.3-1.el8_1Fixed 2023-11-08RHSA-2023:6811
Red Hat Enterprise Linux 8.2 Advanced Update Supportinsights-client-0:3.2.3-1.el8_2Fixed 2023-11-02RHSA-2023:6264
Red Hat Enterprise Linux 8.2 Telecommunications Update Serviceinsights-client-0:3.2.3-1.el8_2Fixed 2023-11-02RHSA-2023:6264
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionsinsights-client-0:3.2.3-1.el8_2Fixed 2023-11-02RHSA-2023:6264
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportinsights-client-0:3.2.3-1.el8_4Fixed 2023-11-08RHSA-2023:6798
Red Hat Enterprise Linux 8.4 Telecommunications Update Serviceinsights-client-0:3.2.3-1.el8_4Fixed 2023-11-08RHSA-2023:6798
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionsinsights-client-0:3.2.3-1.el8_4Fixed 2023-11-08RHSA-2023:6798
Red Hat Enterprise Linux 8.6 Extended Update Supportinsights-client-0:3.2.2-1.el8_6Fixed 2023-11-02RHSA-2023:6284
Red Hat Enterprise Linux 9insights-client-0:3.2.2-1.el9_2Fixed 2023-11-02RHSA-2023:6282
Red Hat Enterprise Linux 9.0 Extended Update Supportinsights-client-0:3.2.2-1.el9_0Fixed 2023-11-08RHSA-2023:6796
Red Hat Enterprise Linux 6insights-clientOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-3972.

References

Check your stackJSON