Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-6839

5.3 · MEDIUM
Published Mar 20, 2025 flask-cors_project CWE-41 EPSS 0.68% (50th pctl)

Overview

CVE-2024-6839 is a medium-severity vulnerability affecting flask-cors_project flask-cors. It was published on March 20, 2025 and has a CVSS 3.1 base score of 5.3 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.3, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

corydolphin/flask-cors version 4.0.1 contains an improper regex path matching vulnerability. The plugin prioritizes longer regex patterns over more specific ones when matching paths, which can lead to less restrictive CORS policies being applied to sensitive endpoints. This mismatch in regex pattern priority allows unauthorized cross-origin access to sensitive data or functionality, potentially exposing confidential information and increasing the risk of unauthorized actions by malicious actors.

Remediation

Check the references section for vendor advisories and patches from flask-cors_project. Update flask-cors to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status

Frequently Asked Questions

What is CVE-2024-6839?

CVE-2024-6839 is a medium-severity vulnerability affecting flask-cors_project flask-cors. It was published on March 20, 2025 and has a CVSS 3.1 base score of 5.3 (MEDIUM).

How severe is CVE-2024-6839?

This vulnerability has a CVSS 3.1 base score of 5.3, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2024-6839?

Check the references section for vendor advisories and patches from flask-cors_project. Update flask-cors to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-6839?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-6839 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.