{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-40586","published":"2023-08-25T21:15:09.197000Z","last_modified":"2026-06-17T06:18:35.653000Z","status":"Modified","cvss":{"version":"3.1","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","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-400"],"cpes":[{"criteria":"cpe:2.3:a:coraza:coraza:3.0.0:*:*:*:*:go:*:*","part":"a","vendor":"coraza","product":"coraza","version":"3.0.0"}],"cpes_truncated":false,"vendors":["coraza"],"products":["coraza/coraza"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-c2pj-v37r-2p6h","ecosystem":"Go","name":"github.com/corazawaf/coraza/v2","purl":"pkg:golang/github.com/corazawaf/coraza/v2","ranges":[{"introduced":"2.0.0","last_affected":"2.0.1"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2023-1874","ecosystem":"Go","name":"github.com/corazawaf/coraza/v2","purl":"pkg:golang/github.com/corazawaf/coraza/v2","ranges":[{"introduced":"0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-c2pj-v37r-2p6h","ecosystem":"Go","name":"github.com/corazawaf/coraza/v3","purl":"pkg:golang/github.com/corazawaf/coraza/v3","ranges":[{"introduced":"3.0.0","fixed":"3.0.1"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2023-1874","ecosystem":"Go","name":"github.com/corazawaf/coraza/v3","purl":"pkg:golang/github.com/corazawaf/coraza/v3","ranges":[{"introduced":"0","fixed":"3.0.1"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2023-40586/","html_en":"/en/cve/CVE-2023-40586/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-40586","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-40586"},"untrusted":{"vendor_name":"Coraza","product_name":"Coraza","desc_en":"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.","affected":[{"untrusted_vendor":"corazawaf","untrusted_product":"coraza"}],"references":[{"url":"https://github.com/corazawaf/coraza/commit/a5239ba3ce839e14d9b4f9486e1b4a403dcade8c","tags":["Patch"]},{"url":"https://github.com/corazawaf/coraza/security/advisories/GHSA-c2pj-v37r-2p6h","tags":["Mitigation","Vendor Advisory"]}]}}