CVE-2023-40586: go package github.com/corazawaf/coraza is vulnerable to denial of service
Vulnerability summary
CVE-2023-40586 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in coraza. EPSS estimates a 0.72% chance of exploitation in the next 30 days, higher than 54% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Timeline
- 25-08-2023PublishedVulnerability first disclosed.
- 02-10-2024Last modifiedVulnerability information updated.
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 metrics
3 scores · 3 sources · 1 version- OSV · GoEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.72%
Chance of exploitation in the next 30 days
Percentile
54%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.72% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Github.com/corazawaf/coraza2 products
- v2≥ 2.0.0, ≤ 2.0.1 | All versions (No fix recorded)
- v3≥ 3.0.0, < 3.0.1 | < 3.0.1
Coraza1 product
- coraza3.0.0
Corazawaf1 product
- coraza< 3.0.1
3 vendors · 4 products
References
10 links- github.com/corazawaf/coraza/security/advisories/GHSA-c2pj-v37r-2p6hX Refsource CONFIRMWEBAdvisoryMitigationVendor Advisory
- github.com/corazawaf/coraza/commit/a5239ba3ce839e14d9b4f9486e1b4a403dcade8cX Refsource MISCWEBFIXPatch
- github.com/corazawaf/corazaPACKAGE