CVE-2013-2777
sudo before 1.7.10p5 and 1.8.x before 1.8.6p6, when the tty_tickets option is enabled, does not...
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.
Exploit likelihood
What each source reports
NVD Score used
4.4
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.
- Record
CVE-2013-2777- CVSS 2.0
- 4.4 Medium
AV:L/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-264
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2013-2777- Updated
- 2026-11-02
EUVDEUVD-2013-2716 No score
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.
- Record
EUVD-2013-2716- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-qjfx-m5pf-3ccg No score
sudo before 1.7.10p5 and 1.8.x before 1.8.6p6, when the tty_tickets option is enabled, does not...
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.
- Record
GHSA-qjfx-m5pf-3ccg- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2013-2777- Updated
- 2026-11-02
OSVDEBIAN-CVE-2013-2777 No score
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.
- Record
DEBIAN-CVE-2013-2777- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
sudoDebian:12 |
before 1.8.5p2-1+nmu1 | 1.8.5p2-1+nmu1 |
sudoDebian:13 |
before 1.8.5p2-1+nmu1 | 1.8.5p2-1+nmu1 |
sudoDebian:14 |
before 1.8.5p2-1+nmu1 | 1.8.5p2-1+nmu1 |
sudoDebian:6.0 From an advisory covering 4 CVEs |
before 1.7.4p4-2.squeeze.4, plus listed versions 1.7.4p4-2.squeeze.11.7.4p4-2.squeeze.21.7.4p4-2.squeeze.3 |
1.7.4p4-2.squeeze.4 |
sudoRed Hat:enterprise_linux:6::client From an advisory covering 3 CVEs |
before 0:1.8.6p3-12.el6 | 0:1.8.6p3-12.el6 |
sudo-debuginfoRed Hat:enterprise_linux:6::client From an advisory covering 3 CVEs |
before 0:1.8.6p3-12.el6 | 0:1.8.6p3-12.el6 |
sudo-develRed Hat:enterprise_linux:6::client From an advisory covering 3 CVEs |
before 0:1.8.6p3-12.el6 | 0:1.8.6p3-12.el6 |
sudoRed Hat:enterprise_linux:6::computenode From an advisory covering 3 CVEs |
before 0:1.8.6p3-12.el6 | 0:1.8.6p3-12.el6 |
sudo-debuginfoRed Hat:enterprise_linux:6::computenode From an advisory covering 3 CVEs |
before 0:1.8.6p3-12.el6 | 0:1.8.6p3-12.el6 |
sudo-develRed Hat:enterprise_linux:6::computenode From an advisory covering 3 CVEs |
before 0:1.8.6p3-12.el6 | 0:1.8.6p3-12.el6 |
Show 6 moreShow less
| Package | Affected | Fixed |
|---|---|---|
sudoRed Hat:enterprise_linux:6::server From an advisory covering 3 CVEs |
before 0:1.8.6p3-12.el6 | 0:1.8.6p3-12.el6 |
sudo-debuginfoRed Hat:enterprise_linux:6::server From an advisory covering 3 CVEs |
before 0:1.8.6p3-12.el6 | 0:1.8.6p3-12.el6 |
sudo-develRed Hat:enterprise_linux:6::server From an advisory covering 3 CVEs |
before 0:1.8.6p3-12.el6 | 0:1.8.6p3-12.el6 |
sudoRed Hat:enterprise_linux:6::workstation From an advisory covering 3 CVEs |
before 0:1.8.6p3-12.el6 | 0:1.8.6p3-12.el6 |
sudo-debuginfoRed Hat:enterprise_linux:6::workstation From an advisory covering 3 CVEs |
before 0:1.8.6p3-12.el6 | 0:1.8.6p3-12.el6 |
sudo-develRed Hat:enterprise_linux:6::workstation From an advisory covering 3 CVEs |
before 0:1.8.6p3-12.el6 | 0:1.8.6p3-12.el6 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2013-2777 is a medium vulnerability (CVSS 4.4) in Todd Miller Sudo, published March 9, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.36%, the 30th percentile. Fixed in sudo 1.8.5p2-1+nmu1.
References
sudo.ws/repos/sudo/rev/bfa23f089bba
securityfocus.com/bid/58207
bugs.debian.org/cgi-bin/bugreport.cgi?bug=701839
sudo.ws/repos/sudo/rev/2f3225a2a4a4
rhn.redhat.com/errata/RHSA-2013-1701.html
debian.org/security/2013/dsa-2642
Show 30 moreShow less
openwall.com/lists/oss-security/2013/02/27/31
sudo.ws/sudo/alerts/tty_tickets.html
lists.apple.com/archives/security-announce/2015/Aug/msg00001.html
slackware.com/security/viewer.php?l=slackware-security&y=2013&m=slackware-security.517440
bugs.launchpad.net/ubuntu/+source/sudo/+bug/87023
support.apple.com/kb/HT205031
bugzilla.redhat.com/show_bug.cgi?id=916365
exchange.xforce.ibmcloud.com/vulnerabilities/82453
nvd.nist.gov/vuln/detail/CVE-2013-2777
github.com/advisories/GHSA-qjfx-m5pf-3ccg
security-tracker.debian.org/tracker/CVE-2013-2777
access.redhat.com/errata/RHSA-2013:1701
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=856901
bugzilla.redhat.com/show_bug.cgi?id=886648
bugzilla.redhat.com/show_bug.cgi?id=916363
bugzilla.redhat.com/show_bug.cgi?id=949751
bugzilla.redhat.com/show_bug.cgi?id=949753
bugzilla.redhat.com/show_bug.cgi?id=994563
bugzilla.redhat.com/show_bug.cgi?id=994626
security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_1701.json
access.redhat.com/security/cve/CVE-2013-1775
cve.org/CVERecord?id=CVE-2013-1775
nvd.nist.gov/vuln/detail/CVE-2013-1775
sudo.ws/sudo/alerts/epoch_ticket.html
access.redhat.com/security/cve/CVE-2013-2776
cve.org/CVERecord?id=CVE-2013-2776
nvd.nist.gov/vuln/detail/CVE-2013-2776
access.redhat.com/security/cve/CVE-2013-2777
cve.org/CVERecord?id=CVE-2013-2777