{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "96cff98c66deba24a20fdde4c6722896f3617680"
            }
          ],
          "repo": "https://github.com/0xjacky/nginx-ui",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-66m6-27r9-77vm"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-20"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49368.json"
  },
  "details": "Nginx UI is a web user interface for the Nginx web server. Prior to version 2.0.0-beta.36, when Nginx UI configures logrotate, it does not verify the input and directly passes it to exec.Command, causing arbitrary command execution. Version 2.0.0-beta.36 fixes this issue.",
  "id": "CVE-2024-49368",
  "modified": "2025-12-04T02:35:46.553221282Z",
  "published": "2024-10-21T17:04:43.652Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/0xJacky/nginx-ui/releases/tag/v2.0.0-beta.36"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-66m6-27r9-77vm"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49368.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-49368"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Unchecked logrotate settings lead to arbitrary command execution"
}