CVE-2016-2779
published 2017-02-07CVE-2016-2779: runuser in util-linux allows local users to escape to the parent session via a crafted TIOCSTI ioctl call, which pushes characters to the terminal's input…
PriorityP433high7.8CVSS 3.0
AVLACLPRLUINSUCHIHAH
EPSS
0.39%
31.0th percentile
runuser in util-linux allows local users to escape to the parent session via a crafted TIOCSTI ioctl call, which pushes characters to the terminal's input buffer.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | util-linux | < util-linux 2.31.1-0.1 (bookworm) | util-linux 2.31.1-0.1 (bookworm) |
| kernel | util-linux | — | — |
| kernel | util-linux | >= 0 < 2.31.1-0.1 | 2.31.1-0.1 |
| kernel | util-linux | >= 0 < 2.31.1-0.1 | 2.31.1-0.1 |
| kernel | util-linux | >= 0 < 2.31.1-0.1 | 2.31.1-0.1 |
| kernel | util-linux | >= 0 < 2.31.1-0.1 | 2.31.1-0.1 |
CVSS provenance
nvdv3.07.8HIGHCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.2HIGHAV:L/AC:L/Au:N/C:C/I:C/A:C
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
util-linux: runuser tty hijack via TIOCSTI ioctl
vendor_redhat·2016-02-26·CVSS 7.8
CVE-2016-2779 [HIGH] CWE-270 util-linux: runuser tty hijack via TIOCSTI ioctl
util-linux: runuser tty hijack via TIOCSTI ioctl
runuser in util-linux allows local users to escape to the parent session via a crafted TIOCSTI ioctl call, which pushes characters to the terminal's input buffer.
It was found that runuser was vulnerable to TIOCSTI ioctl attacks, allowing the executed program to push characters to its TTY's input buffer. While being executed as a non-privileged user, a specially crafted program could force its parent TTY to enter commands, interpreted by the shell when runuser exits.
Statement: This issue affects the versions of util-linux as shipped with Red Hat Enterprise Linux 7. Red Hat Product Security has rated this issue as having Moderate security impact. A future update may address this issue. For additional information, refer to the Issue Severi
Debian
CVE-2016-2779: util-linux - runuser in util-linux allows local users to escape to the parent session via a c...
vendor_debian·2016·CVSS 7.8
CVE-2016-2779 [HIGH] CVE-2016-2779: util-linux - runuser in util-linux allows local users to escape to the parent session via a c...
runuser in util-linux allows local users to escape to the parent session via a crafted TIOCSTI ioctl call, which pushes characters to the terminal's input buffer.
Scope: local
bookworm: resolved (fixed in 2.31.1-0.1)
bullseye: resolved (fixed in 2.31.1-0.1)
forky: resolved (fixed in 2.31.1-0.1)
sid: resolved (fixed in 2.31.1-0.1)
trixie: resolved (fixed in 2.31.1-0.1)
GHSA
GHSA-7q5h-997q-c4x2: runuser in util-linux allows local users to escape to the parent session via a crafted TIOCSTI ioctl call, which pushes characters to the terminal's i
ghsa_unreviewed·2022-05-14
CVE-2016-2779 [HIGH] GHSA-7q5h-997q-c4x2: runuser in util-linux allows local users to escape to the parent session via a crafted TIOCSTI ioctl call, which pushes characters to the terminal's i
runuser in util-linux allows local users to escape to the parent session via a crafted TIOCSTI ioctl call, which pushes characters to the terminal's input buffer.
OSV
CVE-2016-2779: runuser in util-linux allows local users to escape to the parent session via a crafted TIOCSTI ioctl call, which pushes characters to the terminal's i
osv·2017-02-07·CVSS 7.8
CVE-2016-2779 [HIGH] CVE-2016-2779: runuser in util-linux allows local users to escape to the parent session via a crafted TIOCSTI ioctl call, which pushes characters to the terminal's i
runuser in util-linux allows local users to escape to the parent session via a crafted TIOCSTI ioctl call, which pushes characters to the terminal's input buffer.
No detection rules found.
No public exploits indexed.
arXiv
UniBOM -- A Unified SBOM Analysis and Visualisation Tool for IoT Systems and Beyond
arxiv_fulltext·2025-11-27
UniBOM -- A Unified SBOM Analysis and Visualisation Tool for IoT Systems and Beyond
UniBOM – A Unified SBOM Analysis and Visualisation Tool for IoT Systems and Beyond
Vadim Safronov
Equal contribution.
[email protected]
University of Oxford
Oxford
United Kingdom
Ionut Bostan
[1]
[email protected]
NquiringMinds
Southampton
United Kingdom
Nicholas Allott
[email protected]
NquiringMinds
Southampton
United Kingdom
Andrew Martin
[email protected]
University of Oxford
Oxford
United Kingdom
Safronov et al.
## Abstract
Modern networked systems rely on complex software stacks, which often conceal vulnerabilities arising from intricate interdependencies. A Software Bill of Materials (SBOM) is effective for identifying dependencies and mitigating security risks. However, existing SBOM solutions lack precision, particularly in binary analysis a
arXiv
Well Begun is Half Done: An Empirical Study of Exploitability & Impact of Base-Image Vulnerabilities
arxiv_fulltext·2021-12-21
Well Begun is Half Done: An Empirical Study of Exploitability & Impact of Base-Image Vulnerabilities
Well Begun is Half Done: An Empirical Study of Exploitability & Impact of Base-Image Vulnerabilities
Mubin Ul Haque2 and
M. Ali Babar 3
Centre for Research on Engineering Software Technologies (CREST)
School of Computer Science, and Engineering, The University of Adelaide, Adelaide, Australia
Cyber Security Cooperative Research Centre, Australia
[email protected], [email protected]
plain
plain
## Abstract
Container technology, (e.g., Docker) is being widely adopted for deploying software infrastructures or applications in the form of container images.
Security vulnerabilities in the container images are a primary concern for developing containerized software.
Exploitation of the vulnerabilities could result in disastrous impact, such as loss of confidentiality, in
Bugzilla
CVE-2016-8635 nss: small-subgroups attack flaw
bugzilla·2016-11-04·CVSS 5.3
CVE-2016-8635 [MEDIUM] CVE-2016-8635 nss: small-subgroups attack flaw
CVE-2016-8635 nss: small-subgroups attack flaw
It was found that Diffie Hellman Client key exchange handling in NSS, was vulnerable to small subgroup confinement attack[1]. An attacker could use this flaw to recover private keys by confining the client DH key to small subgroup of the desired group.
[1] https://en.wikipedia.org/wiki/Small_subgroup_confinement_attack
Discussion:
Acknowledgments:
Name: Hubert Kario (Red Hat)
---
This issue has been addressed in the following products:
Red Hat Enterprise Linux 6
Red Hat Enterprise Linux 7
Red Hat Enterprise Linux 5
Via RHSA-2016:2779 https://rhn.redhat.com/errata/RHSA-2016-2779.html
Bugzilla
CVE-2016-5285 nss: Missing NULL check in PK11_SignWithSymKey / ssl3_ComputeRecordMACConstantTime causes server crash
bugzilla·2016-10-12·CVSS 7.5
CVE-2016-5285 [HIGH] CVE-2016-5285 nss: Missing NULL check in PK11_SignWithSymKey / ssl3_ComputeRecordMACConstantTime causes server crash
CVE-2016-5285 nss: Missing NULL check in PK11_SignWithSymKey / ssl3_ComputeRecordMACConstantTime causes server crash
A flaw was found in the way a NSS server could be crashed remotely by a client sending an invalid DH key.
Discussion:
Upstream commit:
https://hg.mozilla.org/projects/nss/rev/45c047d18ac4
---
*** Bug 1380235 has been marked as a duplicate of this bug. ***
---
This issue has been addressed in the following products:
Red Hat Enterprise Linux 6
Red Hat Enterprise Linux 7
Red Hat Enterprise Linux 5
Via RHSA-2016:2779 https://rhn.redhat.com/errata/RHSA-2016-2779.html
---
Created nss tracking bugs for this issue:
Affects: fedora-all [bug 1395535]
---
*** Bug 1374803 has been marked as a duplicate of this bug. ***
Bugzilla
CVE-2016-2779 util-linux: runuser tty hijack via TIOCSTI ioctl
bugzilla·2016-02-29·CVSS 7.8
CVE-2016-2779 [HIGH] CVE-2016-2779 util-linux: runuser tty hijack via TIOCSTI ioctl
CVE-2016-2779 util-linux: runuser tty hijack via TIOCSTI ioctl
It was found that when executing a program via "runuser -u nonpriv program" the nonpriv session can escape to the parent session by using the TIOCSTI ioctl to push characters into the terminal's input buffer, allowing privilege escalation. This issue has been fixed in "su" by calling setsid() and in "sudo" by using the "use_pty" flag.
CVE request (contains reproducer):
http://seclists.org/oss-sec/2016/q1/447
Discussion:
Created util-linux tracking bugs for this issue:
Affects: fedora-all [bug 1312855]
---
Upstream util-linux, since v2.31, adds an additional '--pty' option (currently disabled by default) for the runuser and su commands, that enforces a setsid() call, preventing these attacks :
== without the --pty optio
Bugzilla
CVE-2016-2781 coreutils: Non-privileged session can escape to the parent session in chroot
bugzilla·2016-02-29·CVSS 7.8
CVE-2016-2781 [HIGH] CVE-2016-2781 coreutils: Non-privileged session can escape to the parent session in chroot
CVE-2016-2781 coreutils: Non-privileged session can escape to the parent session in chroot
It was found that When executing a program via "chroot --userspec=someuser:somegroup / /path/to/test" the nonpriv session can escape to the parent session by using the TIOCSTI ioctl to push characters into the terminal's input buffer.
CVE assignment:
http://seclists.org/oss-sec/2016/q1/452
Discussion:
Created util-linux tracking bugs for this issue:
Affects: fedora-all [bug 1312864]
---
Is that really against coreutils? Based on http://marc.info/?l=util-linux-ng&m=145694736107128&w=2 (and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815922 ) it seems to be issue with runuser/su - therefore util-linux was IMHO correct.
---
(In reply to Ondrej Vasik from comment #4)
> Is that really agai
Bugzilla
CVE-2016-2779 util-linux: runuser tty hijack via TIOCSTI ioctl [fedora-all]
bugzilla·2016-02-29·CVSS 7.8
CVE-2016-2779 [HIGH] CVE-2016-2779 util-linux: runuser tty hijack via TIOCSTI ioctl [fedora-all]
CVE-2016-2779 util-linux: runuser tty hijack via TIOCSTI ioctl [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fe
http://www.openwall.com/lists/oss-security/2016/02/27/1http://www.openwall.com/lists/oss-security/2016/02/27/2https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815922http://www.openwall.com/lists/oss-security/2016/02/27/1http://www.openwall.com/lists/oss-security/2016/02/27/2https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815922
2017-02-07
Published