{
  "schema_version": "1.4.0",
  "id": "GHSA-h9q8-53pc-hhxf",
  "modified": "2024-03-21T03:33:41Z",
  "published": "2022-05-24T17:00:18Z",
  "aliases": [
    "CVE-2019-18684"
  ],
  "details": "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.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "affected": [],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-18684"
    },
    {
      "type": "WEB",
      "url": "https://gist.github.com/oxagast/51171aa161074188a11d96cbef884bbd"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-362"
    ],
    "severity": "HIGH",
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2019-11-04T16:15:00Z"
  }
}