Skip to content
OpenAdvisories

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).

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support — —
Red Hat Red Hat Enterprise Linux 8.2 Telecommunications Update Service — —
Red Hat Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support — —
Red Hat Red Hat Enterprise Linux 8.4 Telecommunications Update Service — —
Red Hat Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 9.0 Extended Update Support — —
Red Hat Red Hat Enterprise Linux 6 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
RHEL 9 insights-client 3.2.2-1.el9_2 RHSA-2023:6282
RHEL 8 insights-client 3.2.2-1.el8_8 RHSA-2023:6283
RHEL 7 insights-client 3.1.9-1.el7_9 RHSA-2023:6795
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.0 EUS insights-client 3.2.2-1.el9_0 RHSA-2023:6796
RHEL 8.6 EUS insights-client 3.2.2-1.el8_6 RHSA-2023:6284
RHEL 8.4 TUS insights-client 3.2.3-1.el8_4 RHSA-2023:6798
RHEL 8.4 E4S insights-client 3.2.3-1.el8_4 RHSA-2023:6798
RHEL 8.4 AUS insights-client 3.2.3-1.el8_4 RHSA-2023:6798
RHEL 8.2 TUS insights-client 3.2.3-1.el8_2 RHSA-2023:6264
RHEL 8.2 E4S insights-client 3.2.3-1.el8_2 RHSA-2023:6264
RHEL 8.2 AUS insights-client 3.2.3-1.el8_2 RHSA-2023:6264
RHEL 8.1 E4S insights-client 3.2.3-1.el8_1 RHSA-2023:6811

Advisories 9

References