Skip to content
Noroxi
CVE-2013-2777· NVD / CVE Program· CNA 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 d

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.

MediumCVSS 4.4 · v2.0—No exploit Fix available
Published
Apr 8, 2013
Updated
Jun 16, 2026
EPSS
0.4% · 28th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

17

Monitor

Low priority for now.

CVSS
17 / 40 · 4.4 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.4%

Affected systems

VendorProduct
applemac os x
todd millersudo

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • apple mac os xup to 10.10.4 inclusive
  • todd miller sudoup to 1.7.10p4 inclusive
  • todd miller sudo1.3.5
  • todd miller sudo1.6
  • todd miller sudo1.6.1
  • todd miller sudo1.6.2
  • todd miller sudo1.6.2p3
  • todd miller sudo1.6.3
  • todd miller sudo1.6.3_p7
  • todd miller sudo1.6.4
  • todd miller sudo1.6.4p2
  • todd miller sudo1.6.5
  • todd miller sudo1.6.6
  • todd miller sudo1.6.7
  • todd miller sudo1.6.7p5
  • todd miller sudo1.6.8
  • todd miller sudo1.6.8p12
  • todd miller sudo1.6.9
  • todd miller sudo1.6.9p20
  • todd miller sudo1.6.9p21

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12sudobefore 1.8.5p2-1+nmu11.8.5p2-1+nmu1
Debian:6.0sudobefore 1.7.4p4-2.squeeze.41.7.4p4-2.squeeze.4
Red Hat:enterprise_linux:6::clientsudobefore 0:1.8.6p3-12.el60:1.8.6p3-12.el6
Red Hat:enterprise_linux:6::clientsudo-debuginfobefore 0:1.8.6p3-12.el60:1.8.6p3-12.el6
Red Hat:enterprise_linux:6::clientsudo-develbefore 0:1.8.6p3-12.el60:1.8.6p3-12.el6

Other highest-scoring records for the same primary product.

  • CVE-2021-30657A logic issue was addressed with improved state management.KEV
    73This week
  • CVE-2015-1130The XPC implementation in Admin Framework in Apple OS X before 10.10.3 allows local users to bypass authentication and obtain admin privilegKEV
    64This week
  • CVE-2021-30713A permissions issue was addressed with improved validation.KEV
    63This week
  • CVE-2019-8526A use after free issue was addressed with improved memory management.KEV
    61This week
  • CVE-2022-22674An out-of-bounds read issue existed that led to the disclosure of kernel memory.KEV
    52Plan
  • CVE-2007-2386Buffer overflow in mDNSResponder in Apple Mac OS X 10.4 up to 10.4.9 allows remote attackers to cause a denial of service (application termi
    52Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:sudo1.8.5p2-1+nmu1 · Debian:12Package registry (OSV)
red hat:sudo0:1.8.6p3-12.el6 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:sudo-debuginfo0:1.8.6p3-12.el6 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:sudo-devel0:1.8.6p3-12.el6 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

    If successful

    Confidentiality
    P · data can be read
    Integrity
    P · data or configuration can be modified
    Availability
    P · the service can be disrupted
    Attack complexity
    M
    Confidentiality impact
    P
    Integrity impact
    P
    Availability impact
    P

    CVSS vector

    AV:L/AC:M/Au:N/C:P/I:P/A:P

    nvd-primary

    Attack context

    MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

    MITRE has no CAPEC/ATT&CK mapping for this CWE.

    Noroxi analysis

    No Noroxi analysis for this record yet

    We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

    We use this product, ask for help

    Change log

    1. Fix✗ → ✓

    For records you follow, these changes also arrive as notifications. →

    References

    All records