{"id":"CVE-2024-1681","state":"PUBLISHED","title":"Log Injection Vulnerability in corydolphin/flask-cors","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.","publishedAt":"2024-04-19T19:37:27.998Z","updatedAt":"2025-11-03T19:29:18.706Z","severity":{"score":5.3,"label":"Medium","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"@huntr_ai"},"assigner":"@huntr_ai","products":["corydolphin corydolphin/flask-cors"],"affected":[{"vendor":"corydolphin","product":"corydolphin/flask-cors","versions":[{"version":"unspecified","status":"affected","lessThanOrEqual":"latest","versionType":"custom"}]}],"references":["https://huntr.com/bounties/25a7a0ba-9fa2-4777-acb6-03e5539bb644","https://lists.debian.org/debian-lts-announce/2025/05/msg00049.html"],"weaknesses":["CWE-117"],"ingestedAt":"2026-10-29T20:06:59.846Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/1xxx/CVE-2024-1681.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-1681","state":"PUBLISHED","datePublished":"2024-04-19T19:37:27.998Z","dateUpdated":"2025-11-03T19:29:18.706Z","assignerShortName":"@huntr_ai","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateReserved":"2024-02-20T19:13:22.208Z"},"containers":{"cna":{"title":"Log Injection Vulnerability in corydolphin/flask-cors","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"corydolphin","product":"corydolphin/flask-cors","versions":[{"version":"unspecified","status":"affected","lessThanOrEqual":"latest","versionType":"custom"}]}],"references":[{"url":"https://huntr.com/bounties/25a7a0ba-9fa2-4777-acb6-03e5539bb644"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","baseScore":5.3,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-117","type":"CWE","lang":"en","description":"CWE-117 Improper Output Neutralization for Logs"}]}],"providerMetadata":{"shortName":"@huntr_ai","orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateUpdated":"2024-04-19T19:37:27.998Z"},"source":{"advisory":"25a7a0ba-9fa2-4777-acb6-03e5539bb644","discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"corydolphin","product":"flask-cors","defaultStatus":"unknown","versions":[{"version":"-","status":"affected"}],"cpes":["cpe:2.3:a:corydolphin:flask-cors:-:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-1681","role":"CISA Coordinator","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-04-22T20:21:15.891893Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T18:00:45.486Z"}},{"title":"CVE Program Container","references":[{"url":"https://huntr.com/bounties/25a7a0ba-9fa2-4777-acb6-03e5539bb644","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00049.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T19:29:18.706Z"}}]}}}