{"id":"CVE-2023-40586","aliases":["GHSA-c2pj-v37r-2p6h","GO-2023-1874"],"url":"https://o3.security/vulnerability/CVE-2023-40586","summary":"go package github.com/corazawaf/coraza is vulnerable to denial of service","details":"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","published":"2023-08-25T20:35:27.459Z","modified":"2026-08-12T03:51:28.606687583Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/corazawaf/coraza/v3","fixedVersion":"3.0.1"},{"ecosystem":"Go","name":"github.com/corazawaf/coraza/v2","fixedVersion":null}],"fix":{"url":"https://github.com/corazawaf/coraza/commit/a5239ba3ce839e14d9b4f9486e1b4a403dcade8c","label":"corazawaf/coraza@a5239ba"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40586.json"},{"type":"ADVISORY","url":"https://github.com/corazawaf/coraza/security/advisories/GHSA-c2pj-v37r-2p6h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40586"},{"type":"FIX","url":"https://github.com/corazawaf/coraza/commit/a5239ba3ce839e14d9b4f9486e1b4a403dcade8c"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:28.606687583Z"}}