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 and Flask to v3 [security] #489

Merged
merged 2 commits into from
Nov 2, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 25, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
werkzeug (changelog) ==2.3.6 -> ==3.0.1 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.


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 these updates again.


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

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title Update dependency werkzeug to v3 [SECURITY] chore(deps): update dependency werkzeug [security] Oct 26, 2023
@renovate renovate bot force-pushed the renovate/pypi-werkzeug-vulnerability branch from 13ae248 to 19b93ee Compare October 26, 2023 13:00
@renovate renovate bot changed the title chore(deps): update dependency werkzeug [security] chore(deps): update dependency werkzeug to v3 [security] Oct 26, 2023
@renovate renovate bot force-pushed the renovate/pypi-werkzeug-vulnerability branch from 19b93ee to 29e9b39 Compare October 26, 2023 13:01
Copy link
Member

@mmacata mmacata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update Flask Version to be compatible to Werkzeug updates

Copy link
Contributor Author

renovate bot commented Nov 2, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@mmacata mmacata merged commit 493a523 into main Nov 2, 2023
7 of 8 checks passed
@mmacata mmacata changed the title chore(deps): update dependency werkzeug to v3 [security] chore(deps): update dependency werkzeug and Flask to v3 [security] Nov 2, 2023
@mmacata mmacata added this to the 4.11.0 milestone Nov 2, 2023
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.

1 participant