7.5

CVE-2023-40586: go package github.com/corazawaf/coraza is vulnerable to denial of service

Modified
AliasesGHSA-c2pj-v37r-2p6hGO-2023-1874
Published 25-08-2023Last modified 02-10-2024

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.

Priority
Prioritisesevere

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?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.72%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 25-08-2023
    PublishedVulnerability first disclosed.
  2. 02-10-2024
    Last 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

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

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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
Corazawaf1 product

3 vendors · 4 products

References

10 links