CVEfocus › CVE database › CVE-2013-2777

CVE-2013-2777

EPSS 0.4% (higher than 31% of CVEs)Published 2013-04-08Updated 2024-08-06Assigner: mitre

sudo before 1.7.10p5 and 1.8.x before 1.8.6p6, when the tty_tickets option is enabled, does not properly validate the controlling terminal device, which allows local users with sudo permissions to hijack the authorization of another terminal via vectors related to a session without a controlling terminal device and connecting to the standard input, output, and error file descriptors of another terminal. NOTE: this is one of three closely-related vulnerabilities that were originally assigned CVE-2013-1776, but they have been SPLIT because of different affected versions.

What to do

Fixed builds are available from Debian, Red Hat: 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

5Fixed
1Not 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
Debian 14sudoFixed1.8.5p2-1+nmu1DEBIAN-CVE-2013-2777
Debian 13sudoFixed1.8.5p2-1+nmu1DEBIAN-CVE-2013-2777
Debian 12sudoFixed1.8.5p2-1+nmu1DEBIAN-CVE-2013-2777
Red Hat Enterprise Linux 6sudoFixed0:1.8.6p3-12.el6RHSA-2013:1701
Red Hat Enterprise Linux 6sudo-develFixed0:1.8.6p3-12.el6RHSA-2013:1701
Red Hat Enterprise Linux 5sudoNot affected

What the vendor says

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

Vendor advisories:

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.