Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency werkzeug to v3 [security] #316

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 25, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
werkzeug (changelog) ==2.2.3 -> ==3.0.6 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2023-46136

Werkzeug multipart data parser needs to find a boundary that may be between consecutive chunks. That's why parsing is based on looking for newline characters. Unfortunately, code looking for partial boundary in the buffer is written inefficiently, so if we upload a file that starts with CR or LF and then is followed by megabytes of data without these characters: all of these bytes are appended chunk by chunk into internal bytearray and lookup for boundary is performed on growing buffer.

This allows an attacker to cause a denial of service by sending crafted multipart data to an endpoint that will parse it. The amount of CPU time required can block worker processes from handling legitimate requests. The amount of RAM required can trigger an out of memory kill of the process. If many concurrent requests are sent continuously, this can exhaust or kill all available workers.

CVE-2024-34069

The debugger in affected versions of Werkzeug can allow an attacker to execute code on a developer's machine under some circumstances. This requires the attacker to get the developer to interact with a domain and subdomain they control, and enter the debugger PIN, but if they are successful it allows access to the debugger even if it is only running on localhost. This also requires the attacker to guess a URL in the developer's application that will trigger the debugger.

CVE-2024-49767

Applications using Werkzeug to parse multipart/form-data requests are vulnerable to resource exhaustion. A specially crafted form body can bypass the Request.max_form_memory_size setting.

The Request.max_content_length setting, as well as resource limits provided by deployment software and platforms, are also available to limit the resources used during a request. This vulnerability does not affect those settings. All three types of limits should be considered and set appropriately when deploying an application.

CVE-2024-49766

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.


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title chore(deps): update dependency werkzeug to v3 [security] chore(deps): update dependency werkzeug to v3 [security] - autoclosed Nov 13, 2023
@renovate renovate bot closed this Nov 13, 2023
@renovate renovate bot deleted the renovate/pypi-werkzeug-vulnerability branch November 13, 2023 23:07
@renovate renovate bot changed the title chore(deps): update dependency werkzeug to v3 [security] - autoclosed chore(deps): update dependency werkzeug to v3 [security] Nov 14, 2023
@renovate renovate bot reopened this Nov 14, 2023
@renovate renovate bot restored the renovate/pypi-werkzeug-vulnerability branch November 14, 2023 00:59
@renovate renovate bot changed the title chore(deps): update dependency werkzeug to v3 [security] chore(deps): update dependency werkzeug to v2.3.8 [security] Nov 14, 2023
@renovate renovate bot force-pushed the renovate/pypi-werkzeug-vulnerability branch from bebd5d5 to 28a2ba3 Compare November 14, 2023 01:00
@renovate renovate bot changed the title chore(deps): update dependency werkzeug to v2.3.8 [security] chore(deps): update dependency werkzeug to v3 [security] May 6, 2024
@renovate renovate bot force-pushed the renovate/pypi-werkzeug-vulnerability branch from 28a2ba3 to e2bd379 Compare May 6, 2024 21:16
@renovate renovate bot force-pushed the renovate/pypi-werkzeug-vulnerability branch from e2bd379 to 56e9a2f Compare October 26, 2024 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants