Name | CVE-2016-7076 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-707-1 |
Debian Bugs | 842507 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
sudo (PTS) | jessie, jessie (lts) | 1.8.10p3-1+deb8u9 | vulnerable |
| stretch (security) | 1.8.19p1-2.1+deb9u3 | fixed |
| stretch (lts), stretch | 1.8.19p1-2.1+deb9u6 | fixed |
| buster (security), buster, buster (lts) | 1.8.27-1+deb10u6 | fixed |
| bullseye (security), bullseye | 1.9.5p2-3+deb11u1 | fixed |
| bookworm | 1.9.13p3-1+deb12u1 | fixed |
| sid, trixie | 1.9.16p1-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
sudo | source | wheezy | 1.8.5p2-1+nmu3+deb7u2 | | DLA-707-1 | |
sudo | source | (unstable) | 1.8.18p1-1 | | | 842507 |
Notes
[jessie] - sudo <no-dsa> (Minor issue)
https://www.sudo.ws/alerts/noexec_wordexp.html
https://www.sudo.ws/repos/sudo/rev/e7d09243e51b
https://www.sudo.ws/repos/sudo/rev/7b8357b0a358
https://www.sudo.ws/repos/sudo/rev/167a518d8129
Might need as well: https://bugzilla.sudo.ws/show_bug.cgi?id=761