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-49766 (Low) detected in werkzeug-3.0.3-py3-none-any.whl #79

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

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

CVE-2024-49766 - Low 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. On Python < 3.11 on Windows, os.path.isabs() does not catch UNC paths like //server/share. Werkzeug's safe_join() relies on this check, and so can produce a path that is not safe, potentially allowing unintended access to data. Applications using Python >= 3.11, or not using Windows, are not vulnerable. Werkzeug version 3.0.6 contains a patch.

Publish Date: 2024-10-25

URL: CVE-2024-49766

CVSS 3 Score Details (3.7)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: None - Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/pallets/werkzeug/security/advisories/GHSA-f9vj-2wh5-fj8j

Release Date: 2024-10-25

Fix Resolution: Werkzeug - 3.0.6


Step up your Open Source Security Game with Mend here

mend-bolt-for-github[bot] commented 6 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 6 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.