{"id":"UBUNTU-CVE-2005-4890","details":"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.","modified":"2025-07-16T08:10:25.120040Z","published":"2019-11-04T19:15:00Z","withdrawn":"2025-07-18T16:42:37Z","upstream":["CVE-2005-4890"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2005-4890"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2011/06/02/3"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2012/11/05/8"},{"type":"REPORT","url":"http://www.ush.it/2009/01/06/25c3-ccc-congress-2008-tricks-makes-you-smile/"},{"type":"REPORT","url":"http://www.redhat.com/archives/fedora-devel-list/2004-July/msg01314.html"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2005-4890"}],"affected":[{"package":{"name":"shadow","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/shadow@1:4.1.5.1-1ubuntu9?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.1.5.1-1ubuntu9"}]}],"versions":["1:4.1.5.1-1ubuntu6","1:4.1.5.1-1ubuntu7","1:4.1.5.1-1ubuntu8"],"ecosystem_specific":{"binaries":[{"binary_version":"1:4.1.5.1-1ubuntu9","binary_name":"login"},{"binary_name":"passwd","binary_version":"1:4.1.5.1-1ubuntu9"},{"binary_name":"uidmap","binary_version":"1:4.1.5.1-1ubuntu9"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2005/UBUNTU-CVE-2005-4890.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}