Skip to content
OpenAdvisories
Unscored CVE-2005-4890 EUVD-2005-4881GHSA-3p48-pw9r-4325

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 …

Published Nov 4, 2019 · Updated Aug 8, 2024 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
Red Hat shadow 4.x before 4.1.5 —
Red Hat sudo 1.x before 1.7.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 shadow 1:4.1.5-1 —
Debian 14 sudo 1.7.4p4 —
Debian 13 shadow 1:4.1.5-1 —
Debian 13 sudo 1.7.4p4 —
Debian 12 shadow 1:4.1.5-1 —
Debian 12 sudo 1.7.4p4 —

References