CVE-2016-7091
sudo: It was discovered that the default sudo configuration on Red Hat Enterprise Linux and possibly other Linux implementations preserves the value of INPUTRC which could lead to information disclosure. A local user with sudo access to a restricted program that uses readline could use this flaw to read content from specially formatted files with elevated privileges provided by sudo.
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 |
|---|---|---|---|---|
| Ubuntu 16.04 | sudo | Not affected vulnerable_code_not_present | ||
| Red Hat Enterprise Linux 7 | readline | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | readline-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | readline-static | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | sudo | Fixed | 0:1.8.6p7-20.el7 | RHSA-2016:2593 |
| Red Hat Enterprise Linux 7 | sudo-devel | Fixed | 0:1.8.6p7-20.el7 | RHSA-2016:2593 |
| Red Hat Enterprise Linux 6 | compat-readline5 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | compat-readline5-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | compat-readline5-static | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | readline | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | readline-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | readline-static | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | sudo | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | sudo-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | compat-readline43 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | readline | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | sudo | Will not fix Will not fix |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://rhn.redhat.com/errata/RHSA-2016-2593.html (vendor-advisory)
References
- http://www.securityfocus.com/bid/92615
- https://rhn.redhat.com/errata/RHSA-2016-2593.html
- https://lists.gnu.org/archive/html/bug-readline/2016-05/msg00009.html
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.