CVE-2005-4890

NameCVE-2005-4890
DescriptionThere 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severityhigh
Debian Bugs628843, 657784

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
shadow (PTS)jessie (security), jessie1:4.2-3+deb8u4fixed
stretch1:4.4-4.1fixed
buster1:4.5-1.1fixed
bullseye, sid1:4.7-2fixed
sudo (PTS)jessie1.8.10p3-1+deb8u5fixed
jessie (security)1.8.10p3-1+deb8u6fixed
stretch1.8.19p1-2.1fixed
stretch (security)1.8.19p1-2.1+deb9u1fixed
buster, buster (security)1.8.27-1+deb10u1fixed
bullseye, sid1.8.29-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
shadowsource(unstable)1:4.1.5-1low628843
sudosource(unstable)1.7.4p4low657784

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

Search for package or bug name: Reporting problems