Description (CNA)
OWASP Coraza WAF is a golang modsecurity compatible web application firewall library. From 3.0.0 until 3.8.0, the multipart loop in internal/bodyprocessors/multipart.go executes defer temp.Close() for every uploaded file part, so each temporary-file descriptor remains open until the complete request returns. An unauthenticated attacker can submit a multipart body containing many minimal file parts and exhaust the process file-descriptor table within the request-body size limit, causing os.CreateTemp failures, MULTIPART_STRICT_ERROR responses, blocked legitimate uploads, and process-wide inability to open files or sockets. This issue is fixed in version 3.8.0.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| corazawaf / coraza | affected >= 3.0.0, < 3.8.0 |
CWE
CWE-400, CWE-772
References
- https://github.com/corazawaf/coraza/security/advisories/GHSA-rp9v-7xv3-r6g3
- https://github.com/corazawaf/coraza/commit/1bc39036e99c88e7de60cf8e6bb55ee4c311223c
- https://github.com/corazawaf/coraza/releases/tag/v3.8.0
ADP enrichment
No English description supplied.
No references supplied.