Arbitrary Command Injection Affecting setroubleshoot package, versions <0:3.2.24-4.el7_2


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.46% (40th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-SETROUBLESHOOT-4603076
  • published26 Jul 2021
  • disclosed21 Jun 2016

Introduced: 21 Jun 2016

CVE-2016-4989  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade RHEL:7 setroubleshoot to version 0:3.2.24-4.el7_2 or higher.
This issue was patched in RHSA-2016:1293.

NVD Description

Note: Versions mentioned in the description apply only to the upstream setroubleshoot package and not the setroubleshoot package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

setroubleshoot allows local users to bypass an intended container protection mechanism and execute arbitrary commands by (1) triggering an SELinux denial with a crafted file name, which is handled by the _set_tpath function in audit_data.py or via a crafted (2) local_id or (3) analysis_id field in a crafted XML document to the run_fix function in SetroubleshootFixit.py, related to the subprocess.check_output and commands.getstatusoutput functions, a different vulnerability than CVE-2016-4445.

CVSS Base Scores

version 3.1