CVE-2024-8183
Python vulnerability analysis and mitigation

Overview

A CORS (Cross-Origin Resource Sharing) misconfiguration in prefecthq/prefect version 2.20.2 allows unauthorized domains to access sensitive data (NVD, CVE Mitre). The vulnerability was discovered and disclosed in March 2024, affecting the Prefect workflow automation platform.

Technical details

The vulnerability stems from a CORS misconfiguration that allows unauthorized domains to make cross-origin requests to the API. The issue has been assigned a CVSS v3.0 base score of 7.6 (HIGH) with the vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L. The vulnerability is classified as CWE-346 (Origin Validation Error) (NVD).

Impact

The vulnerability can lead to unauthorized access to the database, resulting in potential data leaks, loss of confidentiality, service disruption, and data integrity risks (NVD).

Mitigation and workarounds

A fix has been implemented that adds settings to control server CORS configuration. The patch introduces three new settings: PREFECTSERVERCORSALLOWEDORIGINS, PREFECTSERVERCORSALLOWEDMETHODS, and PREFECTSERVERCORSALLOWEDHEADERS, allowing administrators to explicitly specify authorized origins, methods, and headers for cross-origin requests (Github Commit).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management