{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.8.20"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "54a5f94e07d7f6c69750d181f06d74f49d0663d1"
            }
          ],
          "repo": "https://github.com/millert/sudo",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "Todd Miller's sudo version 1.8.20 and earlier is vulnerable to an input validation (embedded spaces) in the get_process_ttyname() function resulting in information disclosure and command execution.",
  "id": "CVE-2017-1000367",
  "modified": "2026-04-01T23:09:50.007164195Z",
  "published": "2017-06-05T14:29:00.200Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VXEXC4NNIG2QOZY6N2YUK246KI3D3UQO/"
    },
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2022/12/22/5"
    },
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2022/12/22/6"
    },
    {
      "type": "ADVISORY",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00078.html"
    },
    {
      "type": "ADVISORY",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00079.html"
    },
    {
      "type": "ADVISORY",
      "url": "http://seclists.org/fulldisclosure/2017/Jun/3"
    },
    {
      "type": "ADVISORY",
      "url": "http://www.ubuntu.com/usn/USN-3304-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2017:1381"
    },
    {
      "type": "ADVISORY",
      "url": "http://www.debian.org/security/2017/dsa-3867"
    },
    {
      "type": "ADVISORY",
      "url": "https://security.gentoo.org/glsa/201705-15"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.exploit-db.com/exploits/42183/"
    },
    {
      "type": "ADVISORY",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2017-05/msg00077.html"
    },
    {
      "type": "ADVISORY",
      "url": "http://www.securityfocus.com/bid/98745"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2017:1382"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.sudo.ws/alerts/linux_tty.html"
    },
    {
      "type": "EVIDENCE",
      "url": "http://packetstormsecurity.com/files/142783/Sudo-get_process_ttyname-Race-Condition.html"
    },
    {
      "type": "EVIDENCE",
      "url": "http://www.openwall.com/lists/oss-security/2017/05/30/16"
    },
    {
      "type": "EVIDENCE",
      "url": "http://www.securitytracker.com/id/1038582"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}