CVE-2016-2781: Input Validation

Published Feb 7, 2017
·
Updated

chroot 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.

Other sources

chroot 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.

Debian

util-linux could allow a local attacker to gain elevated privileges on the system, caused by an error when executing a program via "chroot --userspec=someuser:somegroup / /path/to/test". An attacker could exploit this vulnerability using the TIOCSTI ioctl to hijack the tty and gain elevated privileges on the system.

IBM

Affected Software

25 affected componentsFixes available
debian/coreutils<=8.32-4, <=9.1-1, <=9.4-3.1
IBM Cloud Pak for Business Automation<=V22.0.2 - V22.0.2-IF004
IBM Cloud Pak for Business Automation<=V21.0.3 - V21.0.3-IF020
IBM Cloud Pak for Business Automation<=V22.0.1 - V22.0.1-IF006 and later fixesV21.0.2 - V21.0.2-IF012 and later fixesV21.0.1 - V21.0.1-IF007 and later fixesV20.0.1 - V20.0.3 and later fixesV19.0.1 - V19.0.3 and later fixesV18.0.0 - V18.0.2 and later fixes
GNU Coreutils
Microsoft azl3 coreutils 9.4-1
Microsoft cbl2 coreutils 8.32-1
Microsoft azl3 coreutils 9.4-6
Microsoft cm1 coreutils 8.30-7
Microsoft coreutils-debuginfo-8.32-3.cm2.aarch64.rpm
Microsoft coreutils-lang-9.4-2.azl3.x86_64.rpm
Microsoft coreutils-lang-9.4-2.azl3.aarch64.rpm
Microsoft coreutils-9.4-2.azl3.aarch64.rpm
Microsoft coreutils-9.4-2.azl3.x86_64.rpm
Microsoft coreutils-8.32-3.cm2.aarch64.rpm
Microsoft coreutils-lang-8.32-3.cm2.aarch64.rpm
Microsoft coreutils-debuginfo-8.32-3.cm2.x86_64.rpm
Microsoft coreutils-debuginfo-8.30-7.cm1.aarch64.rpm
Microsoft coreutils-debuginfo-8.30-7.cm1.x86_64.rpm
Microsoft coreutils-lang-8.30-7.cm1.aarch64.rpm
Microsoft coreutils-8.32-3.cm2.x86_64.rpm
Microsoft coreutils-lang-8.32-3.cm2.x86_64.rpm
Microsoft coreutils-8.30-7.cm1.x86_64.rpm
Microsoft coreutils-lang-8.30-7.cm1.x86_64.rpm
Microsoft coreutils-8.30-7.cm1.aarch64.rpm

Event History

Feb 7, 2017
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Data Sourced
via NVD·03:59 PM
DescriptionSeverityWeaknessAffected Software
Sep 25, 2020
Data Sourced
via Microsoft·12:00 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·12:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Updated
via Microsoft·07:00 AM
SeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2016-2781?

CVE-2016-2781 is considered a high severity vulnerability as it allows local users to potentially escalate privileges.

2

How do I fix CVE-2016-2781?

To fix CVE-2016-2781, update your GNU coreutils and other affected software to the latest patched versions.

3

Who is affected by CVE-2016-2781?

CVE-2016-2781 affects various versions of GNU coreutils and IBM Cloud Pak for Business Automation.

4

What systems are vulnerable to CVE-2016-2781?

Systems running unpatched versions of GNU coreutils, specifically versions up to 8.32-4 and 9.4-3.1, are vulnerable to CVE-2016-2781.

5

Can CVE-2016-2781 be exploited remotely?

CVE-2016-2781 requires local access to the affected system to exploit the vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203