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.
| Software | From | Fixed in |
|---|---|---|
| sudo_project / sudo | 1.3.0 | 1.7.4.x |
| debian / shadow | 4.0.0 | 4.1.5.x |
| debian / debian_linux | 8.0 | 8.0.x |
| debian / debian_linux | 9.0 | 9.0.x |
| debian / debian_linux | 10.0 | 10.0.x |
| redhat / enterprise_linux | 6.0 | 6.0.x |
| redhat / enterprise_linux | 4 | 4.x |
| redhat / enterprise_linux | 5 | 5.x |