CVEfocus › CVE database › CVE-2005-4890

CVE-2005-4890

CVSS 7.8 HighEPSS 0.6% (higher than 51% of CVEs)Published 2019-11-04Updated 2024-08-08Assigner: redhat

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.

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed
1Will not fix
6Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04shadowNot affected
vulnerable_code_not_present
Ubuntu 16.04shadowNot affected
vulnerable_code_not_present
Ubuntu 16.04sudoNot affected
vulnerable_code_not_present
Debian 14shadowFixed1:4.1.5-1DEBIAN-CVE-2005-4890
Debian 14sudoFixed1.7.4p4DEBIAN-CVE-2005-4890
Debian 13shadowFixed1:4.1.5-1DEBIAN-CVE-2005-4890
Debian 13sudoFixed1.7.4p4DEBIAN-CVE-2005-4890
Debian 12shadowFixed1:4.1.5-1DEBIAN-CVE-2005-4890
Debian 12sudoFixed1.7.4p4DEBIAN-CVE-2005-4890
Red Hat Enterprise Linux 6coreutilsNot affected
Red Hat Enterprise Linux 6coreutils-libsNot affected
Red Hat Enterprise Linux 5coreutilsNot affected
Red Hat Enterprise Linux 4coreutilsWill not fix
Will not fix

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.