Several security issues were fixed in Flask-CORS.
Software Description:
- python-flask-cors: Flask extension for handling Cross Origin Resource Sharing (CORS)
Details:
It was discovered that Flask-CORS did not correctly handle certain regular
expressions. A remote attacker could possibly use this issue to leak
sensitive information or bypass authentication mechanisms. (CVE-2024-6839)
It was discovered that Flask-CORS allowed certain CORS headers to be
enabled by default. A remote attacker could possibly use this issue to leak
sensitive information. This issue only affected Ubuntu 20.04 LTS, Ubuntu
22.04 LTS, Ubuntu 24.04 LTS and Ubuntu 24.10. (CVE-2024-6221) It was
discovered that Flask-CORS did not correctly handle case sensitivity when
matching paths. A remote attacker could possibly use this issue to leak
sensitive information. (CVE-2024-6866) It was discovered that Flask-CORS
did not correctly handle certain characters in URL paths. A remote attacker
could possibly use thi...
The problem can be corrected by updating your system to the following
package versions:
Ubuntu 25.04
python3-flask-cors 5.0.0-1ubuntu0.1
Ubuntu 24.10
python3-flask-cors 4.0.1-1ubuntu0.1
Ubuntu 24.04 LTS
python3-flask-cors 4.0.0-1ubuntu0.1~esm1
Available with Ubuntu Pro
Ubuntu 22.04 LTS
python3-flask-cors 3.0.9-2ubuntu0.1
Ubuntu 20.04 LTS
python3-flask-cors 3.0.8-2ubuntu0.1+esm1
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.https://ubuntu.com/security/notices/USN-7612-1
CVE-2024-1681, CVE-2024-6221, CVE-2024-6839, CVE-2024-6844,
CVE-2024-6866
Get the latest Linux and open source security news straight to your inbox.