Alerts This Week
Warning Icon 1 758
Alerts This Week
Warning Icon 1 758

Ubuntu 25.04: USN-7612-1 important: python-flask-cors info leaks

ubuntu
Calendar Grey July 3, 2025
Dist Ubuntu Esm H88
Flask-CORS vulnerabilities mitigated for Ubuntu releases to prevent information leaks and service interruptions.
Several security issues were fixed in Flask-CORS.

Summary

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...

Read the Full Advisory

Update Instructions

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.

References

https://ubuntu.com/security/notices/USN-7612-1

CVE-2024-1681, CVE-2024-6221, CVE-2024-6839, CVE-2024-6844,

CVE-2024-6866

Severity
important
Lowest
Low
Medium
High
Critical

Ubuntu Security Notice USN-7612-1

Package Information

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Your message here