{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "23.7"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "497e46956ae0251273189a9ea59dc5128af9e1d9"
            },
            {
              "fixed": "448762d440b51574f1906c0ec2f5ea6dc4f16eb2"
            }
          ],
          "repo": "https://github.com/opnsense/core",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "A directory traversal vulnerability in the Captive Portal templates of OPNsense Community Edition before 23.7 and Business Edition before 23.4.2 allows attackers to execute arbitrary system commands as root via a crafted ZIP archive.",
  "id": "CVE-2023-38997",
  "modified": "2026-03-13T21:48:21.478479472Z",
  "published": "2023-08-09T19:15:14.593Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/opnsense/core/commit/448762d440b51574f1906c0ec2f5ea6dc4f16eb2"
    },
    {
      "type": "EVIDENCE",
      "url": "https://logicaltrust.net/blog/2023/08/opnsense.html"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}