CVEfocus › CVE database › CVE-2016-7076

CVE-2016-7076

CVSS 6.4 MediumEPSS 0.5% (higher than 41% of CVEs)Published 2018-05-29Updated 2024-08-06Assigner: redhat

sudo before version 1.8.18p1 is vulnerable to a bypass in the sudo noexec restriction if application run via sudo executed wordexp() C library function with a user supplied argument. A local user permitted to run such application via sudo with noexec restriction could possibly use this flaw to execute arbitrary commands with elevated privileges.

CWE-184

What to do

Fixed builds are available from Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

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

8Fixed
1Fix pending
1Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04sudoFixed1.8.16-0ubuntu1.6UBUNTU-CVE-2016-7076
Ubuntu 14.04sudoFix pending1.8.9p5-1ubuntu1.5+esm5 (Ubuntu Pro)UBUNTU-CVE-2016-7076
Debian 14sudoFixed1.8.18p1-1DEBIAN-CVE-2016-7076
Debian 13sudoFixed1.8.18p1-1DEBIAN-CVE-2016-7076
Debian 12sudoFixed1.8.18p1-1DEBIAN-CVE-2016-7076
Red Hat Enterprise Linux 7sudoFixed0:1.8.6p7-21.el7_3RHSA-2016:2872
Red Hat Enterprise Linux 7sudo-develFixed0:1.8.6p7-21.el7_3RHSA-2016:2872
Red Hat Enterprise Linux 6sudoFixed0:1.8.6p3-25.el6_8RHSA-2016:2872
Red Hat Enterprise Linux 6sudo-develFixed0:1.8.6p3-25.el6_8RHSA-2016:2872
Red Hat Enterprise Linux 5sudoWill not fix
Will not fix

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:

References

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.