[USN-6792-1] Flask-Security vulnerability

Chrisa Oikonomou chrisa.oikonomou at canonical.com
Tue May 28 16:48:03 UTC 2024


==========================================================================
Ubuntu Security Notice USN-6792-1
May 28, 2024

flask-security vulnerability
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS

Summary:

Flask-Security could be made to bypass URL validation and redirect to 
arbitary URL.

Software Description:
- flask-security: Simple security for Flask apps (Python 3)

Details:

Naom Moshe discovered that Flask-Security incorrectly validated URLs. An 
attacker could use this issue to redirect users to arbitrary URLs.



Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 22.04 LTS
   python3-flask-security          4.0.0-1ubuntu0.1

Ubuntu 20.04 LTS
   python3-flask-security          1.7.5-2ubuntu0.20.04.1

Ubuntu 18.04 LTS
   python3-flask-security          1.7.5-2ubuntu0.18.04.1~esm1
                                   Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References:
https://ubuntu.com/security/notices/USN-6792-1 
<https://ubuntu.com/security/notices/USN-6792-1>
   CVE-2021-23385

Package Information:
https://launchpad.net/ubuntu/+source/flask-security/4.0.0-1ubuntu0.1 
<https://launchpad.net/ubuntu/+source/flask-security/4.0.0-1ubuntu0.1>
https://launchpad.net/ubuntu/+source/flask-security/1.7.5-2ubuntu0.20.04.1 
<https://launchpad.net/ubuntu/+source/flask-security/1.7.5-2ubuntu0.20.04.1> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-security-announce/attachments/20240528/b58053e9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 665 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-security-announce/attachments/20240528/b58053e9/attachment.sig>


More information about the ubuntu-security-announce mailing list