{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:securityonionsolutions:security_onion:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "2.0.0"
              },
              {
                "fixed": "2.3.10"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5344d30d56d966f869914eb1643a9cd9aa40d878"
            },
            {
              "fixed": "b14670030349a2747a00ace665568ab5f51ac47b"
            }
          ],
          "repo": "https://github.com/security-onion-solutions/securityonion",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {},
  "details": "Security Onion v2 prior to 2.3.10 has an incorrect sudo configuration, which allows the administrative user to obtain root access without using the sudo password by editing and executing /home/\u003cuser\u003e/SecurityOnion/setup/so-setup.",
  "id": "CVE-2020-27985",
  "modified": "2026-07-08T05:37:38.642940918Z",
  "published": "2020-11-23T14:15:12.187Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/Security-Onion-Solutions/securityonion/releases"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Security-Onion-Solutions/securityonion/commit/b14670030349a2747a00ace665568ab5f51ac47b"
    },
    {
      "type": "FIX",
      "url": "https://s1gh.sh/cve-2020-27985-security-onion-local-privilege-escalation/"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}