This bug is in the 'Embargoed' Data Category and access to this data must be restricted as per the Data Reuse Policy.
Bug 2227027 (CVE-2023-3972) - CVE-2023-3972 insights-client: unsafe handling of temporary files and directories
Summary: CVE-2023-3972 insights-client: unsafe handling of temporary files and directo...
Keywords:
Status: NEW
Alias: CVE-2023-3972
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2229674 2229675 2229676 2229677 2229678 2229679 2229680 2229681 2229682 2229683
Blocks: 2222203
TreeView+ depends on / blocked
 
Reported: 2023-07-27 13:18 UTC by TEJ RATHI
Modified: 2023-11-08 10:59 UTC (History)
11 users (show)

Fixed In Version: insights-client 3.2.2
Doc Type: If docs needed, set a value
Doc Text:
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).
Clone Of:
Environment:
Last Closed:
Embargoed: Yes


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:6264 0 None None None 2023-11-02 09:22:06 UTC
Red Hat Product Errata RHSA-2023:6282 0 None None None 2023-11-02 12:31:52 UTC
Red Hat Product Errata RHSA-2023:6283 0 None None None 2023-11-02 12:38:23 UTC
Red Hat Product Errata RHSA-2023:6284 0 None None None 2023-11-02 12:36:53 UTC
Red Hat Product Errata RHSA-2023:6795 0 None None None 2023-11-08 08:28:06 UTC
Red Hat Product Errata RHSA-2023:6796 0 None None None 2023-11-08 08:21:12 UTC
Red Hat Product Errata RHSA-2023:6798 0 None None None 2023-11-08 08:34:31 UTC
Red Hat Product Errata RHSA-2023:6811 0 None None None 2023-11-08 10:59:55 UTC

Description TEJ RATHI 2023-07-27 13:18:19 UTC
The unsafe handling of temporary files and directories in insights-client. An unprivileged user can corrupt any files owned by root.

https://bugzilla.redhat.com/show_bug.cgi?id=2222156

Comment 5 Sandipan Roy 2023-11-01 11:01:41 UTC
Making the issue Public.

Comment 9 errata-xmlrpc 2023-11-02 09:22:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Advanced Update Support
  Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.2 Telecommunications Update Service

Via RHSA-2023:6264 https://access.redhat.com/errata/RHSA-2023:6264

Comment 10 errata-xmlrpc 2023-11-02 12:31:51 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:6282 https://access.redhat.com/errata/RHSA-2023:6282

Comment 11 errata-xmlrpc 2023-11-02 12:36:51 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Extended Update Support

Via RHSA-2023:6284 https://access.redhat.com/errata/RHSA-2023:6284

Comment 12 errata-xmlrpc 2023-11-02 12:38:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:6283 https://access.redhat.com/errata/RHSA-2023:6283

Comment 13 errata-xmlrpc 2023-11-08 08:21:11 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Extended Update Support

Via RHSA-2023:6796 https://access.redhat.com/errata/RHSA-2023:6796

Comment 14 errata-xmlrpc 2023-11-08 08:28:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2023:6795 https://access.redhat.com/errata/RHSA-2023:6795

Comment 15 errata-xmlrpc 2023-11-08 08:34:30 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.4 Telecommunications Update Service

Via RHSA-2023:6798 https://access.redhat.com/errata/RHSA-2023:6798

Comment 16 errata-xmlrpc 2023-11-08 10:59:53 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions

Via RHSA-2023:6811 https://access.redhat.com/errata/RHSA-2023:6811


Note You need to log in before you can comment on or make changes to this bug.