Skip to content

flask-3.1.2-py3-none-any.whl: 1 vulnerabilities (highest severity is: 5.3) #258

@mend-for-github-com

Description

@mend-for-github-com
Vulnerable Library - flask-3.1.2-py3-none-any.whl

Path to dependency file: /sample/Archiving/requirements.txt

Path to vulnerable library: /tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/werkzeug-3.1.3-py3-none-any.whl,/tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/1/werkzeug-3.1.3-py3-none-any.whl

Vulnerabilities

Vulnerability Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (flask version) Remediation Possible** Reachability
CVE-2025-66221 Medium 5.3 Not Defined 0.1% werkzeug-3.1.3-py3-none-any.whl Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2025-66221

Vulnerable Library - werkzeug-3.1.3-py3-none-any.whl

The comprehensive WSGI web application library.

Library home page: https://files.pythonhosted.org/packages/52/24/ab44c871b0f07f491e5d2ad12c9bd7358e527510618cb1b803a88e986db1/werkzeug-3.1.3-py3-none-any.whl

Path to dependency file: /sample/HelloWorld/requirements.txt

Path to vulnerable library: /tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/werkzeug-3.1.3-py3-none-any.whl,/tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/1/werkzeug-3.1.3-py3-none-any.whl

Dependency Hierarchy:

  • flask-3.1.2-py3-none-any.whl (Root Library)
    • werkzeug-3.1.3-py3-none-any.whl (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Werkzeug is a comprehensive WSGI web application library. Prior to version 3.1.4, Werkzeug's safe_join function allows path segments with Windows device names. On Windows, there are special device names such as CON, AUX, etc that are implicitly present and readable in every directory. send_from_directory uses safe_join to safely serve files at user-specified paths under a directory. If the application is running on Windows, and the requested path ends with a special device name, the file will be opened successfully, but reading will hang indefinitely. This issue has been patched in version 3.1.4.

Publish Date: 2025-11-29

URL: CVE-2025-66221

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

CVSS 3 Score Details (5.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2025-11-29

Fix Resolution: https://github.com/pallets/werkzeug.git - 3.1.4,werkzeug - 3.1.4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions