Security mailing lists by PureSourceCode

CVE-2024-1681

MEDIUM 5.3CVSS 3.1

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

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.

Published
19 Apr 2024
Last modified
10 Sep 2026
Assigned by
security@huntr.dev
NVD status
Modified
Weakness
CWE-117
Also known as
GHSA-84pr-m4jr-85g5PYSEC-2024-271
Sources
NVDJSONOSV GHSA-84pr-m4jr-85g5JSONOSV PYSEC-2024-271JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
OSV PyPA CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD security@huntr.dev (Secondary) CVSS 3.0 MEDIUM 5.3 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
OSV GitHub CVSS 3.0 MEDIUM 5.3 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD corydolphin flask-cors
cpe:2.3:a:corydolphin:flask-cors:4.0.0:*:*:*:*:*:*:*
= 4.0.0
OSV PyPI flask-cors < 4.0.1 4.0.1
OSV PyPI flask-cors <= 4.0.0

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 19 Apr 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 19 Apr 2024)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 Apr 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.