Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-30861

published high CVSS 3.1 · 7.5

Flask vulnerable to possible disclosure of permanent session cookie due to missing Vary: Cookie header

Published
02 May 2023, 17:04:22 UTC
Updated
13 Feb 2025, 16:49:37 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
pallets — flask>= 2.3.0, < 2.3.2 · < 2.2.5 Affected Not stated GitHub_M
Amazon Linux AL2023 Release evaluationALAS2023-2023-183 Fixed Not stated Amazon Linux assessment
Debian bullseye flask Advisory build 1.1.2-2+deb11u1 DSA-5442-1
Ubuntu focal flask Advisory build 1.1.1-2ubuntu0.1 USN-6111-1
Oracle Linux 8 python3-flaskaarch64 Advisory build 1:0.12.2-4.0.1.el8 ELSA-2023-12710
SUSE / openSUSE SLE-15-SP1 python3-Flasknoarch Advisory build 1.0.2-150100.6.3.1 SUSE-SU-2023:2264-1
Amazon Linux AL2023 python-flasknoarch Listed in advisory Not stated ALAS2023-2023-183
Debian buster flask Advisory build 1.0.2-3+deb10u1 DLA-3536-1
Show 55 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu jammy flask Advisory build 2.0.1-2ubuntu1.1 USN-6111-1
Oracle Linux 8 python3-flaskx86_64 Advisory build 1:0.12.2-4.0.1.el8 ELSA-2023-12710
SUSE / openSUSE SLE-15-SP2 python3-Flasknoarch Advisory build 1.0.2-150100.6.3.1 SUSE-SU-2023:2264-1
SUSE / openSUSE SLE-15-SP3 python3-Flasknoarch Advisory build 1.0.2-150100.6.3.1 SUSE-SU-2023:2264-1
SUSE / openSUSE SLE-15-SP4 python2-Flasknoarch Advisory build 1.0.2-150100.6.3.1 SUSE-SU-2023:2264-1
SUSE / openSUSE SLE-15-SP4 python3-Flasknoarch Advisory build 1.0.4-150400.3.3.1 SUSE-SU-2023:2263-1
SUSE / openSUSE SLE-15-SP5 python2-Flasknoarch Advisory build 1.0.2-150100.6.3.1 SUSE-SU-2023:2264-1
SUSE / openSUSE SLE-15-SP5 python3-Flasknoarch Advisory build 1.0.4-150400.3.3.1 SUSE-SU-2023:2263-1
SUSE / openSUSE openSUSE-Leap-15.4 python3-Flasknoarch Advisory build 1.0.4-150400.3.3.1 SUSE-SU-2023:2263-1
SUSE / openSUSE openSUSE-Leap-15.4 python3-Flask-docnoarch Advisory build 1.0.4-150400.3.3.1 SUSE-SU-2023:2263-1
SUSE / openSUSE openSUSE-Leap-15.5 python3-Flasknoarch Advisory build 1.0.4-150400.3.3.1 SUSE-SU-2023:2263-2
SUSE / openSUSE openSUSE-Leap-15.5 python3-Flask-docnoarch Advisory build 1.0.4-150400.3.3.1 SUSE-SU-2023:2263-2
SUSE / openSUSE openSUSE-Tumbleweed python310-Flaskaarch64 Advisory build 2.2.5-1.1 OPENSUSE-SU-2024:12923-1
SUSE / openSUSE openSUSE-Tumbleweed python310-Flaskppc64le Advisory build 2.2.5-1.1 OPENSUSE-SU-2024:12923-1
SUSE / openSUSE openSUSE-Tumbleweed python310-Flasks390x Advisory build 2.2.5-1.1 OPENSUSE-SU-2024:12923-1
SUSE / openSUSE openSUSE-Tumbleweed python310-Flaskx86_64 Advisory build 2.2.5-1.1 OPENSUSE-SU-2024:12923-1
SUSE / openSUSE openSUSE-Tumbleweed python310-Flask-docaarch64 Advisory build 2.2.5-1.1 OPENSUSE-SU-2024:12923-1
SUSE / openSUSE openSUSE-Tumbleweed python310-Flask-docppc64le Advisory build 2.2.5-1.1 OPENSUSE-SU-2024:12923-1
SUSE / openSUSE openSUSE-Tumbleweed python310-Flask-docs390x Advisory build 2.2.5-1.1 OPENSUSE-SU-2024:12923-1
SUSE / openSUSE openSUSE-Tumbleweed python310-Flask-docx86_64 Advisory build 2.2.5-1.1 OPENSUSE-SU-2024:12923-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Flaskaarch64 Advisory build 2.2.5-1.1 OPENSUSE-SU-2024:12923-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Flaskppc64le Advisory build 2.2.5-1.1 OPENSUSE-SU-2024:12923-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Flasks390x Advisory build 2.2.5-1.1 OPENSUSE-SU-2024:12923-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Flaskx86_64 Advisory build 2.2.5-1.1 OPENSUSE-SU-2024:12923-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Flask-docaarch64 Advisory build 2.2.5-1.1 OPENSUSE-SU-2024:12923-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Flask-docppc64le Advisory build 2.2.5-1.1 OPENSUSE-SU-2024:12923-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Flask-docs390x Advisory build 2.2.5-1.1 OPENSUSE-SU-2024:12923-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Flask-docx86_64 Advisory build 2.2.5-1.1 OPENSUSE-SU-2024:12923-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Flaskaarch64 Advisory build 3.1.3-3.1 OPENSUSE-SU-2026:11902-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Flaskppc64le Advisory build 3.1.3-3.1 OPENSUSE-SU-2026:11902-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Flasks390x Advisory build 3.1.3-3.1 OPENSUSE-SU-2026:11902-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Flaskx86_64 Advisory build 3.1.3-3.1 OPENSUSE-SU-2026:11902-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Flask-docaarch64 Advisory build 3.1.3-3.1 OPENSUSE-SU-2026:11902-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Flask-docppc64le Advisory build 3.1.3-3.1 OPENSUSE-SU-2026:11902-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Flask-docs390x Advisory build 3.1.3-3.1 OPENSUSE-SU-2026:11902-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Flask-docx86_64 Advisory build 3.1.3-3.1 OPENSUSE-SU-2026:11902-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Flaskaarch64 Advisory build 3.1.3-3.1 OPENSUSE-SU-2026:11902-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Flaskppc64le Advisory build 3.1.3-3.1 OPENSUSE-SU-2026:11902-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Flasks390x Advisory build 3.1.3-3.1 OPENSUSE-SU-2026:11902-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Flaskx86_64 Advisory build 3.1.3-3.1 OPENSUSE-SU-2026:11902-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Flask-docaarch64 Advisory build 3.1.3-3.1 OPENSUSE-SU-2026:11902-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Flask-docppc64le Advisory build 3.1.3-3.1 OPENSUSE-SU-2026:11902-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Flask-docs390x Advisory build 3.1.3-3.1 OPENSUSE-SU-2026:11902-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Flask-docx86_64 Advisory build 3.1.3-3.1 OPENSUSE-SU-2026:11902-1
SUSE / openSUSE openSUSE-Tumbleweed python39-Flaskaarch64 Advisory build 2.2.5-1.1 OPENSUSE-SU-2024:12923-1
SUSE / openSUSE openSUSE-Tumbleweed python39-Flaskppc64le Advisory build 2.2.5-1.1 OPENSUSE-SU-2024:12923-1
SUSE / openSUSE openSUSE-Tumbleweed python39-Flasks390x Advisory build 2.2.5-1.1 OPENSUSE-SU-2024:12923-1
SUSE / openSUSE openSUSE-Tumbleweed python39-Flaskx86_64 Advisory build 2.2.5-1.1 OPENSUSE-SU-2024:12923-1
SUSE / openSUSE openSUSE-Tumbleweed python39-Flask-docaarch64 Advisory build 2.2.5-1.1 OPENSUSE-SU-2024:12923-1
SUSE / openSUSE openSUSE-Tumbleweed python39-Flask-docppc64le Advisory build 2.2.5-1.1 OPENSUSE-SU-2024:12923-1
SUSE / openSUSE openSUSE-Tumbleweed python39-Flask-docs390x Advisory build 2.2.5-1.1 OPENSUSE-SU-2024:12923-1
SUSE / openSUSE openSUSE-Tumbleweed python39-Flask-docx86_64 Advisory build 2.2.5-1.1 OPENSUSE-SU-2024:12923-1
Ubuntu focal python3-flask Advisory build 1.1.1-2ubuntu0.1 USN-6111-1
Ubuntu jammy python3-flask Advisory build 2.0.1-2ubuntu1.1 USN-6111-1
Amazon Linux AL2023 python-flasksrc Listed in advisory Not stated ALAS2023-2023-183

Description

Flask is a lightweight WSGI web application framework. When all of the following conditions are met, a response containing data intended for one client may be cached and subsequently sent by the proxy to other clients. If the proxy also caches `Set-Cookie` headers, it may send one client's `session` cookie to other clients. The severity depends on the application's use of the session and the proxy's behavior regarding cookies. The risk depends on all these conditions being met. 1. The application must be hosted behind a caching proxy that does not strip cookies or ignore responses with cookies. 2. The application sets `session.permanent = True` 3. The application does not access or modify the session at any point during a request. 4. `SESSION_REFRESH_EACH_REQUEST` enabled (the default). 5. The application does not set a `Cache-Control` header to indicate that a page is private or should not be cached. This happens because vulnerable versions of Flask only set the `Vary: Cookie` header when the session is accessed or modified, not when it is refreshed (re-sent to update the expiration) without being accessed or modified. This issue has been fixed in versions 2.3.2 and 2.2.5.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

17

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
pallets flask >= 2.3.0, < 2.3.2 (affected)< 2.2.5 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-539 CWE-539: Use of Persistent Cookies Containing Sensitive Information (GitHub_M · cna)

References

8

Provider assertions

3

GitHub_M · cna

Flask vulnerable to possible disclosure of permanent session cookie due to missing Vary: Cookie header

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
67db07b1d293950eea63519ef6cf6bf0c2bb5f6cbc2abbd092021b1fdc58e28c
Ingested
23 Sep 2026, 08:08:38 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected