Bug 1915794 (CVE-2021-21241) - CVE-2021-21241 python-flask-security: unprotected GET requests could lead to malicious party obtaining the authentication token
Summary: CVE-2021-21241 python-flask-security: unprotected GET requests could lead to ...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2021-21241
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1915795
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-13 12:54 UTC by Marian Rehak
Modified: 2021-01-13 18:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-13 18:27:51 UTC
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2021-01-13 12:54:36 UTC
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.

Reference:

https://github.com/Flask-Middleware/flask-security/pull/422

Comment 1 Marian Rehak 2021-01-13 12:54:55 UTC
Created python-flask-security tracking bugs for this issue:

Affects: fedora-all [bug 1915795]

Comment 2 Product Security DevOps Team 2021-01-13 18:27:51 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.