{"id":"CVE-2005-4890","aliases":["DEBIAN-CVE-2005-4890","EUVD-2005-4881","GHSA-3p48-pw9r-4325","UBUNTU-CVE-2005-4890"],"status":"published","title":"There is a possible tty hijacking in shadow 4.x before 4.1.5 and sudo 1.x before 1.7.4 via \"su -...","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.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.0063,"percentile":0.50461,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2019-11-04T18:38:09Z","modified":"2026-10-23T04:00:49Z","fixes":[{"ecosystem":"Debian:12","package":"shadow","fixed_in":["1:4.1.5-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"shadow","fixed_in":["1:4.1.5-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"shadow","fixed_in":["1:4.1.5-1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"sudo","fixed_in":["1.7.4p4"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"sudo","fixed_in":["1.7.4p4"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"sudo","fixed_in":["1.7.4p4"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"shadow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.1.5-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"shadow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.1.5-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"shadow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.1.5-1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.4p4"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.4p4"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"sudo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.4p4"}]}]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"debian","product":"shadow"},{"vendor":"doomsider","product":"shadow"},{"vendor":"red hat","product":"shadow"},{"vendor":"red hat","product":"sudo"},{"vendor":"redhat","product":"enterprise_linux"},{"vendor":"sudo project","product":"sudo"},{"vendor":"sudo_project","product":"sudo"}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2014/12/15/5","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","advisory","article"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2005-4890","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2005-4890","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","advisory","report"]},{"url":"https://access.redhat.com/security/cve/cve-2005-4890","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2012/11/06/8","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","advisory","article"]},{"url":"http://www.openwall.com/lists/oss-security/2013/05/20/3","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","advisory","article"]},{"url":"http://www.openwall.com/lists/oss-security/2013/11/28/10","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","advisory","article"]},{"url":"http://www.openwall.com/lists/oss-security/2013/11/29/5","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","advisory","article"]},{"url":"http://www.openwall.com/lists/oss-security/2014/10/20/9","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","advisory","article"]},{"url":"http://www.openwall.com/lists/oss-security/2014/10/21/1","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","advisory","article"]},{"url":"http://www.openwall.com/lists/oss-security/2016/02/25/6","tags":["x_refsource_MISC","x_transferred","Exploit","Mailing List","Third Party Advisory","advisory","article","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2005-4890"},{"url":"https://github.com/advisories/GHSA-3p48-pw9r-4325"},{"url":"https://ubuntu.com/security/CVE-2005-4890","tags":["report"]},{"url":"http://www.openwall.com/lists/oss-security/2011/06/02/3","tags":["report"]},{"url":"http://www.openwall.com/lists/oss-security/2012/11/05/8","tags":["report"]},{"url":"http://www.ush.it/2009/01/06/25c3-ccc-congress-2008-tricks-makes-you-smile/","tags":["report"]},{"url":"http://www.redhat.com/archives/fedora-devel-list/2004-July/msg01314.html","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2005-4890","tags":["report"]}],"sources":{"cve":[{"id":"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.","status":"published","published":"2019-11-04T18:38:09Z","modified":"2024-08-08T00:01:23.403Z","updated_at":"2026-11-02T14:33:39.586409Z"}],"euvd":[{"id":"EUVD-2005-4881","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.","status":"published","published":"2019-11-04T18:38:09Z","modified":"2024-08-08T00:01:23Z","updated_at":"2026-11-03T01:15:21.029087Z"}],"ghsa":[{"id":"GHSA-3p48-pw9r-4325","title":"There is a possible tty hijacking in shadow 4.x before 4.1.5 and sudo 1.x before 1.7.4 via \"su -...","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.","status":"published","published":"2022-04-21T01:46:02Z","modified":"2026-03-14T05:10:07Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:06:37.566427Z"}],"nvd":[{"id":"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.","status":"published","published":"2019-11-04T19:15:10.13Z","modified":"2026-06-16T22:19:40.51Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:00:59.170202Z"}],"osv":[{"id":"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.","status":"published","published":"2019-11-04T19:15:10Z","modified":"2026-04-10T03:38:19.532661Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:43:56.581247Z"},{"id":"DEBIAN-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.","status":"published","published":"2019-11-04T19:15:10.13Z","modified":"2026-10-23T04:00:49.554615109Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:22.831407Z"},{"id":"UBUNTU-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.","status":"withdrawn","published":"2019-11-04T19:15:00Z","modified":"2025-07-16T08:10:25.12004Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:05.838224Z"}]}}
