{"id":"CVE-2023-40586","published":"2023-08-25T20:35:27Z","modified":"2024-10-02T14:41:35Z","title":"go package github.com/corazawaf/coraza is vulnerable to denial of service","vendor":"corazawaf","product":"coraza","tier":"tail","description":{"text":"OWASP Coraza WAF is a golang modsecurity compatible web application firewall library. Due to the misuse of `log.Fatalf`, the application using coraza crashed after receiving crafted requests from attackers. The application will immediately crash after receiving a malicious request that triggers an error in `mime.ParseMediaType`. This issue was patched in version 3.0.1.\n","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00723,"percentile":0.54933,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/corazawaf/coraza/security/advisories/GHSA-c2pj-v37r-2p6h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/corazawaf/coraza/commit/a5239ba3ce839e14d9b4f9486e1b4a403dcade8c","tags":["x_refsource_MISC"]}],"priority":{"score":16.2,"factors":[{"name":"EPSS percentile","points":10.99},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"corazawaf","affectedVersions":[{"vendor":"corazawaf","product":"coraza","versions":["< 3.0.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-10-02T14:38:08.187080Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/corazawaf/coraza/v3","vulnerableRanges":[">=3.0.0, <3.0.1","<3.0.1"],"patched":["3.0.1"],"from":["GHSA-c2pj-v37r-2p6h","GO-2023-1874"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/corazawaf/coraza/v2","vulnerableRanges":[">=2.0.0, <=2.0.1","all versions"],"patched":[],"from":["GHSA-c2pj-v37r-2p6h","GO-2023-1874"],"provenance":"source"}],"summary":{"text":"The Coraza WAF Go library (github.com/corazawaf/coraza) contains a flaw in which misuse of log.Fatalf causes any application built on it to terminate when it processes a crafted request that triggers an error in mime.ParseMediaType. An unauthenticated remote attacker who can send HTTP requests to the affected application can crash it with a single malicious request, requiring no user interaction and no special configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:21:00Z"},"euvd":{"id":"EUVD-2023-1768","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-40586","published":"2023-08-25","fixed":"3.0.1","kev":false},{"cve":"CVE-2025-29914","published":"2025-03-20","fixed":"3.3.3","kev":false,"link":{"from":"CVE-2023-40586","to":"CVE-2025-29914","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/corazawaf/coraza/v3","fromFixed":"3.0.1","toFixed":"3.3.3","daysApart":573}]}},{"cve":"CVE-2026-104774","published":"2026-10-12","fixed":"3.8.0","kev":false},{"cve":"CVE-2026-107825","published":"2026-10-09","fixed":"3.8.0","kev":false}],"package":"Go:github.com/corazawaf/coraza/v3"}}