1. Archivio CVE
  2. 2025
  3. CVE-2025-47278

CVE-2025-47278

1.8 Gravità bassa CVSS v4.0 · fonte NVD CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X 1.8 – Bassa

Descrizione

Flask is a web server gateway interface (WSGI) web application framework. 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` care 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. Version 3.1.1 contains a patch for the issue.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
pallets flask = 3.1.0 –

Tipo di vulnerabilità

CWE-683 Function Call With Incorrect Order of Arguments

The product calls a function, procedure, or routine, but the caller specifies the arguments in an incorrect order.

Impatto sui sistemi

AmbitoImpatto
Altro Degradare la qualità, Dipende dal contesto

Come si previene

Sviluppo Use the function, procedure, or routine as specified.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 3 CVE di tipo CWE-683, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org