CVE-2016-4989
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.
What to do
Fixed builds are available from Red Hat: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 7 | setroubleshoot | Fixed | 0:3.2.24-4.el7_2 | RHSA-2016:1293 |
| Red Hat Enterprise Linux 7 | setroubleshoot-plugins | Fixed | 0:3.0.59-2.el7_2 | RHSA-2016:1293 |
| Red Hat Enterprise Linux 7 | setroubleshoot-server | Fixed | 0:3.2.24-4.el7_2 | RHSA-2016:1293 |
| Red Hat Enterprise Linux 6 | setroubleshoot | Fixed | 0:3.0.47-12.el6_8 | RHSA-2016:1267 |
| Red Hat Enterprise Linux 6 | setroubleshoot-doc | Fixed | 0:3.0.47-12.el6_8 | RHSA-2016:1267 |
| Red Hat Enterprise Linux 6 | setroubleshoot-plugins | Fixed | 0:3.0.40-3.1.el6_8 | RHSA-2016:1267 |
| Red Hat Enterprise Linux 6 | setroubleshoot-server | Fixed | 0:3.0.47-12.el6_8 | RHSA-2016:1267 |
| Red Hat Enterprise Linux 5 | setroubleshoot | Not affected |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://rhn.redhat.com/errata/RHSA-2016-1267.html (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2016:1293 (vendor-advisory)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1346461
- https://rhn.redhat.com/errata/RHSA-2016-1267.html
- https://github.com/fedora-selinux/setroubleshoot/commit/e69378d7e82a503534d29c5939fa219341e8f2ad
- http://seclists.org/oss-sec/2016/q2/574
- https://access.redhat.com/errata/RHSA-2016:1293
- http://securitytracker.com/id/1036144
- https://github.com/fedora-selinux/setroubleshoot/commit/dda55aa50db95a25f0d919c3a0d5871827cdc40f
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.