100DaysOfCode icon indicating copy to clipboard operation
100DaysOfCode copied to clipboard

CVE-2024-49767 (High) detected in Werkzeug-1.0.1-py2.py3-none-any.whl

Open mend-bolt-for-github[bot] opened this issue 1 year ago • 0 comments

CVE-2024-49767 - High Severity Vulnerability

Vulnerable Library - Werkzeug-1.0.1-py2.py3-none-any.whl

The comprehensive WSGI web application library.

Library home page: https://files.pythonhosted.org/packages/cc/94/5f7079a0e00bd6863ef8f1da638721e9da21e5bacee597595b318f71d62e/Werkzeug-1.0.1-py2.py3-none-any.whl

Path to dependency file: /day70/requirements.txt

Path to vulnerable library: /day70/requirements.txt,/day70/requirements.txt

Dependency Hierarchy:

  • :x: Werkzeug-1.0.1-py2.py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: c88b9429eb68a85b22f0e39cac7bf20b89cb6709

Found in base branch: master

Vulnerability Details

Werkzeug is a Web Server Gateway Interface web application library. Applications using "werkzeug.formparser.MultiPartParser" corresponding to a version of Werkzeug prior to 3.0.6 to parse "multipart/form-data" requests (e.g. all flask applications) are vulnerable to a relatively simple but effective resource exhaustion (denial of service) attack. A specifically crafted form submission request can cause the parser to allocate and block 3 to 8 times the upload size in main memory. There is no upper limit; a single upload at 1 Gbit/s can exhaust 32 GB of RAM in less than 60 seconds. Werkzeug version 3.0.6 fixes this issue.

Publish Date: 2024-10-25

URL: CVE-2024-49767

CVSS 3 Score Details (7.5)

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: High
For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/pallets/werkzeug/security/advisories/GHSA-q34m-jh98-gwm2

Release Date: 2024-10-25

Fix Resolution: 3.0.6


Step up your Open Source Security Game with Mend here