Resource exhaustion in Coraza

CVE-2023-40586

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.

Vulnerability class: DoS (Denial of Service)

EPSS: 0.006 (45.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2023-40586?
CVE-2023-40586 is a high-severity vulnerability in Coraza, classified under Uncontrolled Resource Consumption. CVSS score: 7.5/10. Published 2023-08-25.
How severe is CVE-2023-40586?
High severity. CVSS v3 base score is 7.5 out of 10.