{"schemaVersion":3,"id":"CVE-2005-4890","aliases":["UBUNTU-CVE-2005-4890","DEBIAN-CVE-2005-4890"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2019-11-04T18:38:09.000Z","modified":"2024-08-08T00:01:23.403Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.2,"severity":"high","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true}]},"epss":{"probability":0.0063,"percentile":0.49122,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.0063},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0063,"percentile":0.49122}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0063,"percentile":0.49122}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_3680D28F578C889B","name":"Exploit Reference (openwall.com)","source":"reference","url":"http://www.openwall.com/lists/oss-security/2016/02/25/6","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"}],"affected":[{"vendor":"debian","product":"shadow","name":"shadow","label":"shadow","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/shadow","purlType":"deb","versions":[{"text":"< 1:4.1.5-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:4.1.5-1","eol":null,"hubHref":null},{"vendor":"debian","product":"sudo","name":"sudo","label":"sudo","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/sudo","purlType":"deb","versions":[{"text":"< 1.7.4p4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.7.4p4","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"shadow","name":"shadow","label":"shadow","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/shadow","purlType":"deb","versions":[{"text":"< 1:4.1.5.1-1ubuntu9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:4.1.5.1-1ubuntu9","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null},{"text":"9.0","noFixRecorded":false,"fixedIn":null},{"text":"10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0 | 9.0 | 10.0","eol":{"isEol":true,"eolDate":"2020-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Jessie)","eolFrom":"2020-06-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"8.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"debian","product":"shadow","name":"shadow","label":"shadow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.0.0, ≤ 4.1.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.0.0, ≤ 4.1.5","eol":null,"hubHref":"/vendor/debian/shadow"},{"vendor":"red hat","product":"shadow","name":"shadow","label":"shadow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.x before 4.1.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.x before 4.1.5","eol":null,"hubHref":"/vendor/red_hat/shadow"},{"vendor":"red hat","product":"sudo","name":"sudo","label":"sudo","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.x before 1.7.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.x before 1.7.4","eol":null,"hubHref":"/vendor/red_hat/sudo"},{"vendor":"redhat","product":"enterprise_linux","name":"enterprise linux","label":"enterprise_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"4","noFixRecorded":false,"fixedIn":null},{"text":"5","noFixRecorded":false,"fixedIn":null},{"text":"6.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"4 | 5 | 6.0","eol":{"isEol":true,"eolDate":"2012-02-29T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"4","label":"4","eolFrom":"2012-02-29T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"4.9"},"product":{"name":"rhel","label":"Red Hat Enterprise Linux","category":"os"}},"hubHref":"/vendor/redhat/enterprise_linux"},{"vendor":"sudo_project","product":"sudo","name":"sudo","label":"sudo","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.3.0, ≤ 1.7.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.3.0, ≤ 1.7.4","eol":null,"hubHref":"/vendor/sudo_project/sudo"}],"affectedCount":9,"eol":{"hasEol":true,"count":2},"references":[{"url":"http://www.openwall.com/lists/oss-security/2014/12/15/5","label":"www.openwall.com/lists/oss-security/2014/12/15/5","hostname":"www.openwall.com","tags":["X Refsource MISC","Mailing List","Third Party Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2005-4890","label":"security-tracker.debian.org/tracker/CVE-2005-4890","hostname":"security-tracker.debian.org","tags":["X Refsource MISC","Third Party Advisory","Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2005-4890","label":"bugzilla.redhat.com/show_bug.cgi?id=CVE-2005-4890","hostname":"bugzilla.redhat.com","tags":["X Refsource MISC","Issue Tracking","Third Party Advisory"]},{"url":"https://access.redhat.com/security/cve/cve-2005-4890","label":"access.redhat.com/security/cve/cve-2005-4890","hostname":"access.redhat.com","tags":["X Refsource MISC","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2012/11/06/8","label":"www.openwall.com/lists/oss-security/2012/11/06/8","hostname":"www.openwall.com","tags":["X Refsource MISC","Mailing List","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2013/05/20/3","label":"www.openwall.com/lists/oss-security/2013/05/20/3","hostname":"www.openwall.com","tags":["X Refsource MISC","Mailing List","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2013/11/28/10","label":"www.openwall.com/lists/oss-security/2013/11/28/10","hostname":"www.openwall.com","tags":["X Refsource MISC","Mailing List","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2013/11/29/5","label":"www.openwall.com/lists/oss-security/2013/11/29/5","hostname":"www.openwall.com","tags":["X Refsource MISC","Mailing List","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2014/10/20/9","label":"www.openwall.com/lists/oss-security/2014/10/20/9","hostname":"www.openwall.com","tags":["X Refsource MISC","Mailing List","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2014/10/21/1","label":"www.openwall.com/lists/oss-security/2014/10/21/1","hostname":"www.openwall.com","tags":["X Refsource MISC","Mailing List","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2016/02/25/6","label":"www.openwall.com/lists/oss-security/2016/02/25/6","hostname":"www.openwall.com","tags":["X Refsource MISC","Exploit","Mailing List","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2005-4890","label":"ubuntu.com/security/CVE-2005-4890","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"http://www.openwall.com/lists/oss-security/2011/06/02/3","label":"www.openwall.com/lists/oss-security/2011/06/02/3","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"http://www.openwall.com/lists/oss-security/2012/11/05/8","label":"www.openwall.com/lists/oss-security/2012/11/05/8","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"http://www.ush.it/2009/01/06/25c3-ccc-congress-2008-tricks-makes-you-smile/","label":"www.ush.it/2009/01/06/25c3-ccc-congress-2008-tricks-makes-you-smile/","hostname":"www.ush.it","tags":["REPORT"]},{"url":"http://www.redhat.com/archives/fedora-devel-list/2004-July/msg01314.html","label":"www.redhat.com/archives/fedora-devel-list/2004-July/msg01314.html","hostname":"www.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2005-4890","label":"www.cve.org/CVERecord?id=CVE-2005-4890","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2019-11-04T18:38:09.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-08T00:01:23.403Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T09:50:42.824Z","stale":false,"partial":false}}