USN-6019-1: Flask-CORS vulnerability
13 April 2023
Applications using Flask-CORS could be made to expose sensitive information.
Releases
Packages
- python-flask-cors - Flask extension for handling Cross Origin Resource Sharing (CORS)
Details
It was discovered that Flask-CORS did not properly escape paths before
evaluating resource rules. An attacker could possibly use this to
expose sensitive information.
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 20.04
After a standard system update you need to restart application using
Flask-CORS to make all the necessary changes.