USN-6792-1: Flask-Security vulnerability

Publication date

28 May 2024

Overview

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


Packages

Details

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

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

Update instructions

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

Learn more about how to get the fixes.

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

Ubuntu Release Package Version
22.04 jammy python3-flask-security –  4.0.0-1ubuntu0.1
20.04 focal python3-flask-security –  1.7.5-2ubuntu0.20.04.1
18.04 bionic python3-flask-security –  1.7.5-2ubuntu0.18.04.1~esm1  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›