Race Condition

Affecting sudo package, versions *

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

Overview

Sudo through 1.8.29 allows local users to escalate to root if they have write access to file descriptor 3 of the sudo process. This occurs because of a race condition between determining a uid, and the setresuid and openat system calls. The attacker can write "ALL ALL=(ALL) NOPASSWD:ALL" to /proc/#####/fd/3 at a time when Sudo is prompting for a password.

References

CVSS Score

7.0
high severity
  • Attack Vector
    Local
  • Attack Complexity
    High
  • Privileges Required
    Low
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    High
  • Integrity
    High
  • Availability
    High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVE
CVE-2019-18684
CWE
CWE-362
Snyk ID
SNYK-DEBIAN10-SUDO-481894
Disclosed
04 Nov, 2019
Published
10 Nov, 2019