LOW🇬🇧 English

CVE-2026-27205

CVSS 2.3v4.0pub. 2026-02-21upd. 2026-02-24

Flask to framework aplikacji webowych oparty na interfejsie WSGI. W wersji 3.1.2 i wcześniejszych, gdy dostęp do obiektu sesji nie ustawia nagłówka Vary: Cookie, wynika z tego podatność Use of Cache Containing Sensitive Information. Logika powinna instruować cache'e, aby nie buforowały odpowiedzi zawierającej informacje specyficzne dla zalogowanego użytkownika, jednak niektóre formy dostępu, takie jak operator in w Pythonie, zostały pominięte. Poważność zależy od tego, czy aplikacja znajduje się za proxy'em cache'ującym, który nie ignoruje odpowiedzi z cookies, czy nie ustawia nagłówka Cache-Control oznaczającego strony jako prywatne, oraz czy dostęp do sesji odbywa się w sposób, który dotyka tylko kluczy bez odczytywania wartości. Problem został naprawiony w wersji 3.1.3.

Pokaż oryginał (EN)

Flask is a web server gateway interface (WSGI) web application framework. In versions 3.1.2 and below, when the session object is accessed, Flask should set the Vary: Cookie header., resulting in a Use of Cache Containing Sensitive Information vulnerability. The logic instructs caches not to cache the response, as it may contain information specific to a logged in user. This is handled in most cases, but some forms of access such as the Python in operator were overlooked. The severity and risk depend on the application being hosted behind a caching proxy that doesn't ignore responses with cookies, not setting a Cache-Control header to mark pages as private or non-cacheable, and accessing the session in a way that only touches keys without reading values or mutating the session. The issue has been fixed in version 3.1.3.

CVSS Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/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
  • Palletsprojects Flask

    APP
    Palletsprojects
    < 3.1.3
🔵
ZWERYFIKUJ U PRODUCENTA
Brak jednoznacznych danych o patchu. Sprawdź referencje od producenta.
CWE
Referencje

Powiązane podatności

CVE-2023-30861HIGH7.5ten sam produkt

Flask is a lightweight WSGI web application framework. When all of the following conditions are met, a respons...

CVE-2019-1010083HIGH7.5ten sam produkt

The Pallets Project Flask before 1.0 is affected by: unexpected memory usage. The impact is: denial of service...

CVE-2018-1000656HIGH7.5ten sam produkt

The Pallets Project flask version Before 0.12.3 contains a CWE-20: Improper Input Validation vulnerability in ...

CVE-2022-29361CRITICAL9.8ten sam vendor

Improper parsing of HTTP requests in Pallets Werkzeug v2.1.0 and below allows attackers to perform HTTP Reques...

CVE-2026-7246HIGH7.2ten sam vendor

Pallets Click, versions 8.3.2 and below, contain a command injection vulnerability in the click.edit() functio...