{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "1.38.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "6c98ed5f12fc8849b4ee30e691866f7c8883d458"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "c5f24a1d1fb42a047a51ecf71cc39bc3e33f61ba"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "1.38.4",
                "range": [
                  {
                    "fixed": "b2192aa427fcdeec797d1b4d0605e6d7f2661b12"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "b2192aa427fcdeec797d1b4d0605e6d7f2661b12"
            },
            {
              "fixed": "6c98ed5f12fc8849b4ee30e691866f7c8883d458"
            },
            {
              "fixed": "c5f24a1d1fb42a047a51ecf71cc39bc3e33f61ba"
            }
          ],
          "repo": "https://github.com/zoneminder/zoneminder",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-wgqf-6fjf-7gxw"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43361.json"
  },
  "details": "ZoneMinder is a free, open source closed-circuit television software application. Prior to 1.38.4, detaintPath() in web/includes/functions.php can be bypassed with a PHP stream-wrapper path when sanitizing modal.php input. A remote unauthenticated attacker can submit such a path through the affected input and potentially read unauthorized local files through local file inclusion. This issue is fixed in version 1.38.4.",
  "id": "CVE-2024-43361",
  "modified": "2026-11-17T20:45:55.281161698Z",
  "published": "2026-11-17T19:00:11.465Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43361.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ZoneMinder/zoneminder/commit/6c98ed5f12fc8849b4ee30e691866f7c8883d458"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ZoneMinder/zoneminder/commit/c5f24a1d1fb42a047a51ecf71cc39bc3e33f61ba"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ZoneMinder/zoneminder/pull/4991"
    },
    {
      "type": "WEB",
      "url": "https://github.com/ZoneMinder/zoneminder/releases/tag/1.38.4"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ZoneMinder/zoneminder/security/advisories/GHSA-wgqf-6fjf-7gxw"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-43361"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "ZoneMinder: bypass detaintPath function"
}