{
  "schema_version": "1.4.0",
  "id": "GHSA-4v9f-r55g-g6hc",
  "modified": "2025-03-26T15:36:24Z",
  "published": "2025-03-20T12:32:47Z",
  "aliases": [
    "CVE-2024-8183"
  ],
  "summary": "Prefect CORS (Cross-Origin Resource Sharing) misconfiguration",
  "details": "A CORS (Cross-Origin Resource Sharing) misconfiguration in prefecthq/prefect prior to version 3.0.3 allows unauthorized domains to access sensitive data. This vulnerability can lead to unauthorized access to the database, resulting in potential data leaks, loss of confidentiality, service disruption, and data integrity risks.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "prefect"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "3.0.0rc1"
            },
            {
              "fixed": "3.0.3"
            }
          ]
        }
      ]
    },
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "prefect"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.20.17"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-8183"
    },
    {
      "type": "WEB",
      "url": "https://github.com/PrefectHQ/prefect/issues/15074"
    },
    {
      "type": "WEB",
      "url": "https://github.com/PrefectHQ/prefect/commit/8f159b404126d93964a4daace7619bc553fa318c"
    },
    {
      "type": "WEB",
      "url": "https://github.com/prefecthq/prefect/commit/a69266e077169b8a32ad76b1dd3ea63b96d011c2"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/PrefectHQ/prefect"
    },
    {
      "type": "WEB",
      "url": "https://github.com/PrefectHQ/prefect/releases/tag/2.20.17"
    },
    {
      "type": "WEB",
      "url": "https://huntr.com/bounties/b801de43-ff9f-4db9-b583-4797d4f7d3d2"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-346"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2025-03-20T20:43:33Z",
    "nvd_published_at": "2025-03-20T10:15:41Z"
  }
}