Security mailing lists by PureSourceCode

CVE-2024-6221

HIGH 7.5CVSS 3.1

Flask-CORS allows the `Access-Control-Allow-Private-Network` CORS header to be set to true by default

A vulnerability in corydolphin/flask-cors version 4.0.1 allows the Access-Control-Allow-Private-Network CORS header to be set to true by default. 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.

Published
18 Aug 2024
Last modified
10 Sep 2026
Assigned by
security@huntr.dev
NVD status
Modified
Weakness
CWE-284
Also known as
GHSA-hxwh-jpp2-84pmPYSEC-2024-260PYSEC-2024-71
Sources
NVDJSONOSV GHSA-hxwh-jpp2-84pmJSONOSV PYSEC-2024-260JSONOSV PYSEC-2024-71JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV PyPA CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD security@huntr.dev (Secondary) CVSS 3.0 MEDIUM 6.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD corydolphin flask-cors
cpe:2.3:a:corydolphin:flask-cors:4.0.1:*:*:*:*:*:*:*
= 4.0.1
OSV PyPI flask-cors < 4.0.2 4.0.2
OSV PyPI flask-cors <= 4.0.1

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 18 Aug 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 18 Aug 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 18 Aug 2024)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 18 Aug 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.