{"answers":{"affected":"5 open source packages ship an affected version, including prefect.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-8183 exists.","fix":"Upgrade prefect to a fixed version for your release line: 2.20.17 or 3.0.3.","what":"CVE-2024-8183 is a high-severity vulnerability in prefecthq/prefect, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-8183 and fix it if it is affected.\n\nWhat it is: CVE-2024-8183 is a high-severity vulnerability in prefecthq/prefect, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-8183 exists.\n\nAffected packages and fixed versions:\n- prefect (PyPI): affected all versions; fixed in 2.20.17, 3.0.3\n- prefect (PyPI): affected all versions; fixed in 2.20.17\n- prefect (PyPI): affected all versions; fixed in 2.20.17\n- prefect (PyPI): affected from 3.0.0rc1; fixed in 3.0.3\n- prefect (PyPI): affected from 3.0.0rc1; fixed in 3.0.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-8183/ (Markdown: https://insights.sbomify.com/CVE-2024-8183/index.md)","id":"CVE-2024-8183","markdown":"https://insights.sbomify.com/CVE-2024-8183/index.md","name":"CVE-2024-8183","record":{"aliases":["GHSA-4v9f-r55g-g6hc","PYSEC-2026-1800","ROOT-APP-PYPI-CVE-2024-8183"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Workflow orchestration platform","requires_auth":"none","summary":"Attackers can access sensitive data due to CORS misconfiguration, leading to potential data leaks and confidentiality loss.","user_interaction":"required","vuln_class":"misconfiguration"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntr_ai","cpe":[],"cvss":{"score":7.6,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L","version":"3.0"},"cwes":[{"id":"CWE-346","name":"Origin Validation Error"}],"description":"A CORS (Cross-Origin Resource Sharing) misconfiguration in prefecthq/prefect version 2.20.2 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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"CORS Misconfiguration in prefecthq/prefect","id":"CVE-2024-8183","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"misconfiguration","year":"2024"},"n_packages":5,"n_references":2,"next":{"headline":"Jetty ThreadLimitHandler.getRemote() vulnerable to remote DoS attacks","id":"CVE-2024-8184"},"packages":[{"ecosystem":"PyPI","fixed":["2.20.17","3.0.3"],"introduced":["0","3.0.0rc1"],"last_affected":[],"package":"prefect","purl":"pkg:pypi/prefect","source":"PYSEC-2026-1800"},{"ecosystem":"PyPI","fixed":["2.20.17"],"introduced":["0"],"last_affected":[],"package":"prefect","purl":null,"source":"GHSA-4v9f-r55g-g6hc"},{"ecosystem":"PyPI","fixed":["2.20.17"],"introduced":["0"],"last_affected":[],"package":"prefect","purl":"pkg:pypi/prefect","source":"GHSA-4v9f-r55g-g6hc"},{"ecosystem":"PyPI","fixed":["3.0.3"],"introduced":["3.0.0rc1"],"last_affected":[],"package":"prefect","purl":null,"source":"GHSA-4v9f-r55g-g6hc"},{"ecosystem":"PyPI","fixed":["3.0.3"],"introduced":["3.0.0rc1"],"last_affected":[],"package":"prefect","purl":"pkg:pypi/prefect","source":"GHSA-4v9f-r55g-g6hc"}],"prev":{"headline":"Flowise Denial of Service","id":"CVE-2024-8182"},"products":["prefecthq/prefect"],"published":"2025-03-20","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-20","vendors":["prefecthq"]},"summary":"Attackers can access sensitive data due to CORS misconfiguration, leading to potential data leaks and confidentiality loss.","url":"https://insights.sbomify.com/CVE-2024-8183/"}