{"api_version":"1","generated_at":"2026-04-23T09:50:57+00:00","cve":"CVE-2005-4890","urls":{"html":"https://cve.report/CVE-2005-4890","api":"https://cve.report/api/cve/CVE-2005-4890.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2005-4890","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2005-4890"},"summary":{"title":"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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2019-11-04 19:15:00","updated_at":"2020-08-18 15:05:00"},"problem_types":["CWE-20"],"metrics":[],"references":[{"url":"http://www.openwall.com/lists/oss-security/2014/12/15/5","name":"http://www.openwall.com/lists/oss-security/2014/12/15/5","refsource":"MISC","tags":["Mailing List","Third Party Advisory"],"title":"oss-security - Re: Multiple disputed issues in util-vserver","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/security/cve/cve-2005-4890","name":"https://access.redhat.com/security/cve/cve-2005-4890","refsource":"MISC","tags":["Third Party Advisory"],"title":"CVE-2005-4890 - Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2005-4890","name":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2005-4890","refsource":"MISC","tags":["Issue Tracking","Third Party Advisory"],"title":"710208 – (CVE-2005-4890) CVE-2005-4890 coreutils: tty hijacking possible in \"su\" via TIOCSTI ioctl","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2014/10/21/1","name":"http://www.openwall.com/lists/oss-security/2014/10/21/1","refsource":"MISC","tags":["Mailing List","Third Party Advisory"],"title":"oss-security - AW: Multiple disputed issues in util-vserver","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2013/05/20/3","name":"http://www.openwall.com/lists/oss-security/2013/05/20/3","refsource":"MISC","tags":["Mailing List","Third Party Advisory"],"title":"oss-security - tty-hijacking & CVE-2005-4890 - redux","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2014/10/20/9","name":"http://www.openwall.com/lists/oss-security/2014/10/20/9","refsource":"MISC","tags":["Mailing List","Third Party Advisory"],"title":"oss-security - Re: Multiple disputed issues in util-vserver","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2013/11/29/5","name":"http://www.openwall.com/lists/oss-security/2013/11/29/5","refsource":"MISC","tags":["Mailing List","Third Party Advisory"],"title":"oss-security - Re: CVE Request: adequate: privilege escalation via\n tty hijacking","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2016/02/25/6","name":"http://www.openwall.com/lists/oss-security/2016/02/25/6","refsource":"MISC","tags":["Exploit","Mailing List","Third Party Advisory"],"title":"oss-security - CVE Request: pkexec tty hijacking via TIOCSTI ioctl","mime":"text/x-c","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2013/11/28/10","name":"http://www.openwall.com/lists/oss-security/2013/11/28/10","refsource":"MISC","tags":["Mailing List","Third Party Advisory"],"title":"oss-security - CVE Request: adequate: privilege escalation via tty hijacking","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2012/11/06/8","name":"http://www.openwall.com/lists/oss-security/2012/11/06/8","refsource":"MISC","tags":["Mailing List","Third Party Advisory"],"title":"oss-security - Re: Re: TTY handling when executing code in\n\tdifferent lower-privileged context (su, virt containers)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security-tracker.debian.org/tracker/CVE-2005-4890","name":"https://security-tracker.debian.org/tracker/CVE-2005-4890","refsource":"MISC","tags":["Third Party Advisory"],"title":"CVE-2005-4890","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2005-4890","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2005-4890","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2005","cve_id":"4890","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"10.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2005","cve_id":"4890","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2005","cve_id":"4890","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2005","cve_id":"4890","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"10.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2005","cve_id":"4890","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2005","cve_id":"4890","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2005","cve_id":"4890","vulnerable":"1","versionEndIncluding":"4.1.5","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"debian","cpe5":"shadow","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2005","cve_id":"4890","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"4","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2005","cve_id":"4890","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"5","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2005","cve_id":"4890","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"6.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2005","cve_id":"4890","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"4","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2005","cve_id":"4890","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"5","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2005","cve_id":"4890","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"6.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2005","cve_id":"4890","vulnerable":"1","versionEndIncluding":"1.7.4","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"sudo_project","cpe5":"sudo","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2005-4890","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"tty hijacking possible in \"su\" via TIOCSTI ioctl"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"Red Hat","product":{"product_data":[{"product_name":"shadow","version":{"version_data":[{"version_affected":"=","version_value":"4.x before 4.1.5"}]}},{"product_name":"sudo","version":{"version_data":[{"version_affected":"=","version_value":"1.x before 1.7.4"}]}}]}}]}},"references":{"reference_data":[{"url":"http://www.openwall.com/lists/oss-security/2012/11/06/8","refsource":"MISC","name":"http://www.openwall.com/lists/oss-security/2012/11/06/8"},{"url":"http://www.openwall.com/lists/oss-security/2013/05/20/3","refsource":"MISC","name":"http://www.openwall.com/lists/oss-security/2013/05/20/3"},{"url":"http://www.openwall.com/lists/oss-security/2013/11/28/10","refsource":"MISC","name":"http://www.openwall.com/lists/oss-security/2013/11/28/10"},{"url":"http://www.openwall.com/lists/oss-security/2013/11/29/5","refsource":"MISC","name":"http://www.openwall.com/lists/oss-security/2013/11/29/5"},{"url":"http://www.openwall.com/lists/oss-security/2014/10/20/9","refsource":"MISC","name":"http://www.openwall.com/lists/oss-security/2014/10/20/9"},{"url":"http://www.openwall.com/lists/oss-security/2014/10/21/1","refsource":"MISC","name":"http://www.openwall.com/lists/oss-security/2014/10/21/1"},{"url":"http://www.openwall.com/lists/oss-security/2014/12/15/5","refsource":"MISC","name":"http://www.openwall.com/lists/oss-security/2014/12/15/5"},{"url":"http://www.openwall.com/lists/oss-security/2016/02/25/6","refsource":"MISC","name":"http://www.openwall.com/lists/oss-security/2016/02/25/6"},{"url":"https://access.redhat.com/security/cve/cve-2005-4890","refsource":"MISC","name":"https://access.redhat.com/security/cve/cve-2005-4890"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2005-4890","refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2005-4890"},{"url":"https://security-tracker.debian.org/tracker/CVE-2005-4890","refsource":"MISC","name":"https://security-tracker.debian.org/tracker/CVE-2005-4890"}]}},"nvd":{"publishedDate":"2019-11-04 19:15:00","lastModifiedDate":"2020-08-18 15:05:00","problem_types":["CWE-20"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:C/I:C/A:C","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":7.2},"severity":"HIGH","exploitabilityScore":3.9,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:*","versionStartIncluding":"1.3.0","versionEndIncluding":"1.7.4","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:debian:shadow:*:*:*:*:*:*:*:*","versionStartIncluding":"4.0.0","versionEndIncluding":"4.1.5","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:4:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:5:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2005","CveId":"4890","Ordinal":"52602","Title":"CVE-2005-4890","CVE":"CVE-2005-4890","Year":"2005"},"notes":[{"CveYear":"2005","CveId":"4890","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2005","CveId":"4890","Ordinal":"2","NoteData":"2019-11-04","Type":"Other","Title":"Published"},{"CveYear":"2005","CveId":"4890","Ordinal":"3","NoteData":"2019-11-04","Type":"Other","Title":"Modified"}]}}}