Skip to content
OpenAdvisories
Medium USN-7612-1 5 CVEs

python-flask-cors vulnerabilities

Published Jul 2, 2025 · Updated Apr 27, 2026

Summary

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 this issue to leak sensitive information or bypass
authentication mechanisms. (CVE-2024-6844) Elias Hohl was discovered that
Flask-CORS did not correctly sanitize log entries. A remote attacker could
possibly use this issue to corrupt log files. This issue only affected
Ubuntu 20.04 LTS, Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2024-1681)

Fixed packages 3

ReleasePackageFixed in
Ubuntu · 22.04 LTS 22.04:LTS python-flask-cors 3.0.9-2ubuntu0.1
Ubuntu · Pro 20.04 LTS Pro:20.04:LTS python-flask-cors 3.0.8-2ubuntu0.1+esm1
Ubuntu · Pro 24.04 LTS Pro:24.04:LTS python-flask-cors 4.0.0-1ubuntu0.1~esm1

Vulnerabilities 5

References

  • report
    https://ubuntu.com/security/CVE-2024-1681
  • report
    https://ubuntu.com/security/CVE-2024-6221
  • report
    https://ubuntu.com/security/CVE-2024-6839
  • report
    https://ubuntu.com/security/CVE-2024-6844
  • report
    https://ubuntu.com/security/CVE-2024-6866