{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "6.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1c2858c681935a040cd2313e599b05a5dd40be95"
            },
            {
              "fixed": "6cf0236184ff6304bf5e267ccf7ef02874069697"
            }
          ],
          "repo": "https://github.com/slicer69/doas",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "An issue was discovered in slicer69 doas before 6.2 on certain platforms other than OpenBSD. A setusercontext(3) call with flags to change the UID, primary GID, and secondary GIDs was replaced (on certain platforms: Linux and possibly NetBSD) with a single setuid(2) call. This resulted in neither changing the group id nor initializing secondary group ids.",
  "id": "CVE-2019-15901",
  "modified": "2026-03-13T21:50:28.049671456Z",
  "published": "2019-10-18T16:15:10.320Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/slicer69/doas/commit/6cf0236184ff6304bf5e267ccf7ef02874069697"
    },
    {
      "type": "FIX",
      "url": "https://github.com/slicer69/doas/compare/6.1p1...6.2"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/slicer69/doas/pull/23"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}