Skip to content
OpenAdvisories
Medium · 6.4 CVE-2016-7076 EUVD-2016-7956GHSA-v56m-9vh5-5qh5

sudo before version 1.8.18p1 is vulnerable to a bypass in the sudo noexec restriction if application run via sudo executed wordexp() C libr…

Published May 29, 2018 · Updated Aug 6, 2024 · Assigned by redhat

Description

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.

Affected products

VendorProductAffectedFixed
[UNKNOWN] sudo sudo 1.8.18p1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 sudo 1.8.18p1-1 —
Debian 13 sudo 1.8.18p1-1 —
Debian 12 sudo 1.8.18p1-1 —
Debian 7 sudo 1.8.5p2-1+nmu3+deb7u2 DLA-707-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS sudo 1.8.16-0ubuntu1.6 USN-3968-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS sudo 1.8.9p5-1ubuntu1.5+esm5 USN-3968-3
ReleasePackageFixed inAdvisory
RHEL 7 sudo +1 1.8.6p7-21.el7_3 RHSA-2016:2872
RHEL 6 sudo +1 1.8.6p3-25.el6_8 RHSA-2016:2872
ReleasePackageFixed inAdvisory
SLES 12 SP2 sudo 1.8.10p3-8.1 SUSE-SU-2016:2893-1
SLES 12 SP1 sudo 1.8.10p3-2.6.1 SUSE-SU-2016:2904-1
SLES 11 SP4 sudo 1.7.6p2-0.29.1 SUSE-SU-2016:2891-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP2 sudo 1.8.10p3-8.1 SUSE-SU-2016:2893-1
SLES for SAP 12 SP1 sudo 1.8.10p3-2.6.1 SUSE-SU-2016:2904-1
SLES for SAP 11 SP4 sudo 1.7.6p2-0.29.1 SUSE-SU-2016:2891-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed sudo 1.9.7p2-1.4 openSUSE-SU-2024:11413-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 sudo +1 1.8.6p7-21.el7_3 ELSA-2016-2872

Advisories 9

References