justunsix / automatetheboringstuff-py-tests

Testing Python following Automate the Boring Stuff with Python By Al Sweigart
MIT License
0 stars 0 forks source link

CVE-2024-49767 (High) detected in werkzeug-3.0.3-py3-none-any.whl #80

Open mend-bolt-for-github[bot] opened 1 month ago

mend-bolt-for-github[bot] commented 1 month ago

CVE-2024-49767 - High Severity Vulnerability

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

The comprehensive WSGI web application library.

Library home page: https://files.pythonhosted.org/packages/9d/6e/e792999e816d19d7fcbfa94c730936750036d65656a76a5a688b57a656c4/werkzeug-3.0.3-py3-none-any.whl

Path to dependency file: /src/project/ai-rag-llm/ollama-repo-changes/requirements.txt

Path to vulnerable library: /src/project/ai-rag-llm/ollama-repo-changes/requirements.txt

Dependency Hierarchy: - :x: **werkzeug-3.0.3-py3-none-any.whl** (Vulnerable Library)

Found in HEAD commit: 92e57f9e81da15812523bf929f8ad33bdae5e967

Found in base branch: main

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

mend-bolt-for-github[bot] commented 4 days ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

mend-bolt-for-github[bot] commented 4 days ago

:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.