{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2.0.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "cb02b9b812174609403d67f60c314959388ba06c"
            }
          ],
          "repo": "https://github.com/apache/couchdb",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "The Windows installer that the Apache CouchDB team provides was vulnerable to local privilege escalation. All files in the install inherit the file permissions of the parent directory and therefore a non-privileged user can substitute any executable for the nssm.exe service launcher, or CouchDB batch or binary files. A subsequent service or server restart will then run that binary with administrator privilege. This issue affected CouchDB 2.0.0 (Windows platform only) and was addressed in CouchDB 2.0.0.1.",
  "id": "CVE-2016-8742",
  "modified": "2026-03-15T13:44:13.985612388Z",
  "published": "2018-02-12T17:29:00.277Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "http://mail-archives.apache.org/mod_mbox/couchdb-dev/201612.mbox/%3C825F65E1-0E5F-4E1F-8053-CF2C6200C526%40apache.org%3E"
    },
    {
      "type": "ADVISORY",
      "url": "http://www.securityfocus.com/bid/94766"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.exploit-db.com/exploits/40865/"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}