OWASP Coraza WAF: Unbounded recursion in JSON response body processor causes CPU exhaustion
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| corazawaf | coraza | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Coraza | Coraza |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-3c6w-j9xm-8h2h | Coraza: Unbounded recursion in JSON response body processor causes CPU exhaustion |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.388% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Coraza
Coraza coraza |
|
| Vendors & Products |
Coraza
Coraza coraza |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | OWASP Coraza WAF is a golang modsecurity compatible web application firewall library. From 3.0.0 until 3.8.0, ProcessResponse in internal/bodyprocessors/json.go passes the ignoreJSONRecursionLimit value of -1 to readJSON, while the recursive guard only stops at zero. A network attacker who can cause an application protected by Coraza to return deeply nested JSON can make response-body processing perform quadratic work, consuming one CPU core for seconds per response within the default ResponseBodyLimit. Request JSON processing is not affected by this specific path because it uses the configured request recursion limit, and exploitation requires response-body inspection to be enabled. This issue is fixed in version 3.8.0. | |
| Title | OWASP Coraza WAF: Unbounded recursion in JSON response body processor causes CPU exhaustion | |
| Weaknesses | CWE-674 | |
| References |
| |
| Metrics |
cvssV3_1
|