Advisory

PYSEC-2024-71

Also known as: CVE-2024-6221, GHSA-hxwh-jpp2-84pm

Summary

The record has no summary.

Details

A vulnerability in corydolphin/flask-cors up to version 4.0.1 allows the Access-Control-Allow-Private-Network CORS header to be set to true by default, without any configuration option. This behavior can expose private network resources to unauthorized external access, leading to significant security risks such as data breaches, unauthorized access to sensitive information, and potential network intrusions.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2024-08-18 19:15 UTC
Modified
2026-07-09 16:56 UTC

Affected packages and fixes

flask-cors

PyPI · All systems

Affected

  • introduced 0, fixed 4.0.2 (ecosystem)

Fixed versions

4.0.2

Fix

  • Fixed version 4.0.2
    pip install --upgrade flask-cors==4.0.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences