ADVISORIES

Vulnerability

CVE-2024-1681

corydolphin/flask-cors is vulnerable to log injection when the log level is set to debug. An attacker can inject fake log entries into the log file by sending a specially crafted GET request containing a CRLF sequence in the request path. This vulnerability allows attackers to corrupt log files, potentially covering tracks of other attacks, confusing log post-processing tools, and forging log entries. The issue is due to improper output neutralization for logs.

25 advisories report this vulnerability, across 7 ecosystems.

Advisories

  • CGA-2c9q-4483-h452
    CVE-2024-1681 ChainguardWolfi Updated 5 November 2026
  • CGA-4jrh-955p-5382
    CVE-2024-1681 ChainguardWolfi Updated 5 November 2026
  • CGA-64rq-5663-gjg4
    CVE-2024-1681 ChainguardWolfi Updated 5 November 2026
  • CGA-79qh-mh4m-4mr5
    CVE-2024-1681 ChainguardWolfi Updated 5 November 2026
  • CGA-8hp3-76j8-8w8g
    CVE-2024-1681 ChainguardWolfi Updated 5 November 2026
  • CGA-c9vx-r2m2-7ggv
    CVE-2024-1681 ChainguardWolfi Updated 5 November 2026
  • CGA-j3hg-92xw-gfhx
    CVE-2024-1681 ChainguardWolfi Updated 5 November 2026
  • CGA-j3rh-pjrv-26v2
    CVE-2024-1681 ChainguardWolfi Updated 5 November 2026
  • CGA-jxmx-wgmj-q7g3
    CVE-2024-1681 ChainguardWolfi Updated 5 November 2026
  • CGA-mfj3-pf55-g7j3
    CVE-2024-1681 ChainguardWolfi Updated 5 November 2026
  • CGA-mhf2-x393-52jp
    CVE-2024-1681 ChainguardWolfi Updated 5 November 2026
  • CGA-r4rv-6fcp-2h5r
    CVE-2024-1681 ChainguardWolfi Updated 5 November 2026
  • CGA-rjf4-9m6c-wwxp
    CVE-2024-1681 ChainguardWolfi Updated 5 November 2026
  • CGA-vxfj-vmvg-v7r7
    CVE-2024-1681 ChainguardWolfi Updated 5 November 2026
  • CGA-wvrq-whfq-4pg6
    CVE-2024-1681 ChainguardWolfi Updated 5 November 2026
  • CGA-x63w-wjqm-53c6
    CVE-2024-1681 ChainguardWolfi Updated 5 November 2026
  • DEBIAN-CVE-2024-1681

    corydolphin/flask-cors is vulnerable to log injection when the log level is set to debug. An attacker can inject fake log entries into the log file by sending a specially crafted GET request containing a CRLF sequence…

    CVE-2024-1681 Debian Updated 2 November 2026
  • DLA-4197-1

    python-flask-cors - security update

    CVE-2024-1681CVE-2024-6839CVE-2024-6844CVE-2024-6866 Debian Updated 20 November 2026
  • GHSA-84pr-m4jr-85g5

    flask-cors vulnerable to log injection when the log level is set to debug

    Moderate CVE-2024-1681 PyPI Updated 10 September 2026
  • OESA-2024-1713

    python-Flask-Cors security update

    Medium CVE-2024-1681 openEuler Updated 18 August 2026
  • PYSEC-2024-271

    corydolphin/flask-cors is vulnerable to log injection when the log level is set to debug. An attacker can inject fake log entries into the log file by sending a specially crafted GET request containing a CRLF sequence…

    CVE-2024-1681 PyPI Updated 10 June 2026
  • UBUNTU-CVE-2024-1681

    corydolphin/flask-cors is vulnerable to log injection when the log level is set to debug. An attacker can inject fake log entries into the log file by sending a specially crafted GET request containing a CRLF sequence…

    CVE-2024-1681 Ubuntu Updated 4 February 2026
  • USN-7612-1

    python-flask-cors vulnerabilities

    CVE-2024-1681CVE-2024-6221CVE-2024-6839CVE-2024-6844 Ubuntu Updated 27 April 2026
  • openSUSE-SU-2024:14293-1

    python310-Flask-Cors-4.0.1-1.1 on GA media

    CVE-2024-1681 openSUSE Updated 4 February 2026
  • openSUSE-SU-2026:11990-1

    python313-Flask-Cors-6.0.2-1.2 on GA media

    CVE-2020-25032CVE-2024-1681 openSUSE Updated 5 October 2026

References