CVE & CISA-KEV Catalog

CVE-2021-21241

HIGH
7.4
CVSS v3
NVD

Description

The Python "Flask-Security-Too" package is used for adding security features to your Flask application. It is an is a independently maintained version of Flask-Security based on the 3.0.0 version of Flask-Security. In Flask-Security-Too from version 3.3.0 and before version 3.4.5, the /login and /change endpoints can return the authenticated user's authentication token in response to a GET request. Since GET requests aren't protected with a CSRF token, this could lead to a malicious 3rd party site acquiring the authentication token. Version 3.4.5 and version 4.0.0 are patched. As a workaround, if you aren't using authentication tokens - you can set the SECURITY_TOKEN_MAX_AGE to "0" (seconds) which should make the token unusable.

How to fix

Remediation Available
flask-securityDebian
Fixed in:4.0.0-1CVE-2021-21241
Fixed in:4.0.0-1CVE-2021-21241
Fixed in:4.0.0-1CVE-2021-21241
Fixed in:4.0.0-1CVE-2021-21241

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeChanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

Exploit Intelligence

0.92%probability of exploitation in 30 days
56thpercentile

Moderate risk: more likely to be exploited than 56% of all known CVEs.

References

Related Vulnerabilities

Other CWE-352 (Cross-Site Request Forgery) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2016-6277High8.8100%KEV-
CVE-2014-0054Medium6.891%-Fix
CVE-2013-6429Medium6.890%-Fix
CVE-2022-41622High8.888%--
CVE-2018-7700High8.875%--
CVE-2015-2295Medium6.866%--
Embed a live status badge for CVE-2021-21241
CVE-2021-21241 severity badge

Markdown

[![CVE-2021-21241](https://tridentstack.com/cve/badge/CVE-2021-21241.svg)](https://tridentstack.com/cve/CVE-2021-21241)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-21241"><img src="https://tridentstack.com/cve/badge/CVE-2021-21241.svg" alt="CVE-2021-21241"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.