Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented May 13, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
flask (changelog) 3.1.0 -> 3.1.1 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2025-47278

In Flask 3.1.0, the way fallback key configuration was handled resulted in the last fallback key being used for signing, rather than the current signing key.

Signing is provided by the itsdangerous library. A list of keys can be passed, and it expects the last (top) key in the list to be the most recent key, and uses that for signing. Flask was incorrectly constructing that list in reverse, passing the signing key first.

Sites that have opted-in to use key rotation by setting SECRET_KEY_FALLBACKS are likely to unexpectedly be signing their sessions with stale keys, and their transition to fresher keys will be impeded. Sessions are still signed, so this would not cause any sort of data integrity loss.


Release Notes

pallets/flask (flask)

v3.1.1

Compare Source

Released 2025-05-13

  • Fix signing key selection order when key rotation is enabled via
    SECRET_KEY_FALLBACKS. :ghsa:4grg-w6v8-c28g
  • Fix type hint for cli_runner.invoke. :issue:5645
  • flask --help loads the app and plugins first to make sure all commands
    are shown. :issue:5673
  • Mark sans-io base class as being able to handle views that return
    AsyncIterable. This is not accurate for Flask, but makes typing easier
    for Quart. :pr:5659

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 requested a review from rjha-splunk as a code owner May 13, 2025 21:05
@renovate renovate bot added dependencies Pull requests that update a dependency file security labels May 13, 2025
@renovate renovate bot requested a review from cwadhwani-splunk May 13, 2025 21:05
@renovate renovate bot force-pushed the renovate/pypi-flask-vulnerability branch from 3215b7e to e451ddf Compare May 20, 2025 10:20
@renovate renovate bot force-pushed the renovate/pypi-flask-vulnerability branch from e451ddf to 5fb7169 Compare May 20, 2025 11:08
@ajasnosz ajasnosz self-requested a review May 20, 2025 11:23
@ajasnosz ajasnosz merged commit 9ee630d into develop May 20, 2025
19 of 23 checks passed
@ajasnosz ajasnosz deleted the renovate/pypi-flask-vulnerability branch May 20, 2025 11:24
@github-actions github-actions bot locked and limited conversation to collaborators May 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant