CVE-2016-2781

NameCVE-2016-2781
Descriptionchroot in GNU coreutils, when used with --userspec, allows local users to escape to the parent session via a crafted TIOCSTI ioctl call, which pushes characters to the terminal's input buffer.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
NVD severitylow (attack range: local)
Debian Bugs816320

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
coreutils (PTS)wheezy8.13-3.5vulnerable
jessie8.23-4vulnerable
buster, sid, stretch8.26-3vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
coreutilssource(unstable)(unfixed)low816320

Notes

[stretch] - coreutils <no-dsa> (Minor issue)
[jessie] - coreutils <no-dsa> (Minor issue)
[wheezy] - coreutils <no-dsa> (Minor issue)
Restricting ioctl on the kernel side seems the better approach

Search for package or bug name: Reporting problems