CVE-2024-6221 Affecting py3-flask-cors package, versions <4.0.2-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment

    Threat Intelligence

    EPSS
    0.08% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-WOLFILATEST-PY3FLASKCORS-7855685
  • published 31 Aug 2024
  • disclosed 18 Aug 2024

How to fix?

Upgrade Wolfi py3-flask-cors to version 4.0.2-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream py3-flask-cors package and not the py3-flask-cors package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

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, 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.

CVSS Scores

version 3.1
Expand this section

NVD

Recommended
7.5 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    None
  • Availability (A)
    None