Name | CVE-2005-4890 |
Description | There is a possible tty hijacking in shadow 4.x before 4.1.5 and sudo 1.x before 1.7.4 via "su - user -c program". The user session can be escaped to the parent session by using the TIOCSTI ioctl to push characters into the input buffer to be read by the next process. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 628843, 657784 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
shadow (PTS) | jessie, jessie (lts) | 1:4.2-3+deb8u5 | fixed |
| stretch (security) | 1:4.4-4.1+deb9u1 | fixed |
| stretch (lts), stretch | 1:4.4-4.1+deb9u2 | fixed |
| buster, buster (lts) | 1:4.5-1.1+deb10u1 | fixed |
| bullseye | 1:4.8.1-1 | fixed |
| bookworm | 1:4.13+dfsg1-1 | fixed |
| sid, trixie | 1:4.16.0-5 | fixed |
sudo (PTS) | jessie, jessie (lts) | 1.8.10p3-1+deb8u9 | fixed |
| 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 |
---|
shadow | source | (unstable) | 1:4.1.5-1 | low | | 628843 |
sudo | source | (unstable) | 1.7.4p4 | low | | 657784 |
Notes
[squeeze] - shadow <no-dsa> (Minor issue)
[lenny] - shadow <no-dsa> (Minor issue)
https://bugzilla.redhat.com/show_bug.cgi?id=173008
sudo might be fixed earlier, use_pty present in stable. Only since 1.9.6-1~exp2
use_pty is added to default configuration.