CVE-2023-3972

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-3972
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-3972.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-3972
Related
Published
2023-11-01T16:15:08Z
Modified
2024-09-03T04:33:02.571743Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

References

Affected packages

Git / github.com/redhatinsights/insights-client

Affected ranges

Type
GIT
Repo
https://github.com/redhatinsights/insights-client
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

3.*

3.0.0-4
3.0.1-5
3.0.2-2

insights-client-3.*

insights-client-3.0.3-1

v3.*

v3.0.14
v3.0.15
v3.1.0
v3.1.1
v3.1.3
v3.1.4
v3.1.5
v3.1.6
v3.1.7
v3.2.0
v3.2.1