Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2019-18684

7.0 · HIGH
Published Nov 4, 2019 sudo_project CWE-362 EPSS 0.29% (21th pctl)

Overview

CVE-2019-18684 is a high-severity vulnerability affecting sudo_project sudo. It was published on November 4, 2019 and has a CVSS 3.1 base score of 7.0 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.0, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

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. NOTE: This has been disputed due to the way Linux /proc works. It has been argued that writing to /proc/#####/fd/3 would only be viable if you had permission to write to /etc/sudoers. Even with write permission to /proc/#####/fd/3, it would not help you write to /etc/sudoers

Remediation

Check the references section for vendor advisories and patches from sudo_project. Update sudo to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
sudo_project sudo 0 Affected

Frequently Asked Questions

What is CVE-2019-18684?

CVE-2019-18684 is a high-severity vulnerability affecting sudo_project sudo. It was published on November 4, 2019 and has a CVSS 3.1 base score of 7.0 (HIGH).

How severe is CVE-2019-18684?

This vulnerability has a CVSS 3.1 base score of 7.0, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2019-18684?

Check the references section for vendor advisories and patches from sudo_project. Update sudo to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2019-18684?

CyberStrike's AI-powered security agents can automatically detect CVE-2019-18684 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.