{"cve":"CVE-2023-40586","nvd":{"published":"2023-08-25T21:15:09.197","modified":"2026-06-17T06:18:35.653","status":"Modified","description":"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.","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:N/A:H","score":7.5},"cwes":["CWE-400"],"references":["https://github.com/corazawaf/coraza/commit/a5239ba3ce839e14d9b4f9486e1b4a403dcade8c","https://github.com/corazawaf/coraza/security/advisories/GHSA-c2pj-v37r-2p6h","https://github.com/corazawaf/coraza/commit/a5239ba3ce839e14d9b4f9486e1b4a403dcade8c","https://github.com/corazawaf/coraza/security/advisories/GHSA-c2pj-v37r-2p6h"],"products":["coraza:coraza"],"source":"nvd","synced_at":"2026-10-19T21:39:14.809778102+00:00"},"epss":{"cve":"CVE-2023-40586","score":0.00723,"percentile":0.54029,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-c2pj-v37r-2p6h","url":"https://osv.dev/vulnerability/GHSA-c2pj-v37r-2p6h","summary":"Coraza has potential denial of service vulnerability","modified":"2023-11-08T04:13:22.295580Z","packages":[{"ecosystem":"Go","name":"github.com/corazawaf/coraza/v3","purl":"pkg:golang/github.com/corazawaf/coraza/v3","ranges":[">=3.0.0 <3.0.1"],"fixed":["3.0.1"]},{"ecosystem":"Go","name":"github.com/corazawaf/coraza/v2","purl":"pkg:golang/github.com/corazawaf/coraza/v2","ranges":[">=2.0.0 <=2.0.1"],"fixed":[]}]},{"id":"GO-2023-1874","url":"https://osv.dev/vulnerability/GO-2023-1874","summary":"Denial of service in github.com/corazawaf/coraza/v2 and v3","modified":"2024-05-20T16:03:47Z","packages":[{"ecosystem":"Go","name":"github.com/corazawaf/coraza/v2","purl":"pkg:golang/github.com/corazawaf/coraza/v2","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/corazawaf/coraza/v3","purl":"pkg:golang/github.com/corazawaf/coraza/v3","ranges":["<3.0.1"],"fixed":["3.0.1"]}]}],"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."]}