{"cve":"CVE-2024-1681","nvd":{"published":"2024-04-19T20:15:09.273","modified":"2026-06-17T07:04:46.833","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3},"cwes":["CWE-117"],"references":["https://huntr.com/bounties/25a7a0ba-9fa2-4777-acb6-03e5539bb644","https://huntr.com/bounties/25a7a0ba-9fa2-4777-acb6-03e5539bb644","https://lists.debian.org/debian-lts-announce/2025/05/msg00049.html"],"products":["corydolphin:flask-cors"],"source":"nvd","synced_at":"2026-10-19T21:49:08.435428910+00:00"},"epss":{"cve":"CVE-2024-1681","score":0.00579,"percentile":0.4764,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-84pr-m4jr-85g5","url":"https://osv.dev/vulnerability/GHSA-84pr-m4jr-85g5","summary":"flask-cors vulnerable to log injection when the log level is set to debug","modified":"2026-09-10T03:50:12.410188532Z","packages":[{"ecosystem":"PyPI","name":"flask-cors","purl":"pkg:pypi/flask-cors","ranges":["<4.0.1"],"fixed":["4.0.1"]}]},{"id":"PYSEC-2024-271","url":"https://osv.dev/vulnerability/PYSEC-2024-271","summary":"","modified":"2026-06-10T17:01:16.365143709Z","packages":[{"ecosystem":"PyPI","name":"flask-cors","purl":"pkg:pypi/flask-cors","ranges":["<=4.0.0"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}