High severityNVD Advisory· Published Aug 25, 2023· Updated Oct 2, 2024
go package github.com/corazawaf/coraza is vulnerable to denial of service
CVE-2023-40586
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/corazawaf/coraza/v3Go | >= 3.0.0, < 3.0.1 | 3.0.1 |
github.com/corazawaf/coraza/v2Go | >= 2.0.0, <= 2.0.1 | — |
Affected products
3- ghsa-coords2 versions
>= 2.0.0, <= 2.0.1+ 1 more
- (no CPE)range: >= 2.0.0, <= 2.0.1
- (no CPE)range: >= 3.0.0, < 3.0.1
Patches
Vulnerability mechanics
References
10- github.com/advisories/GHSA-c2pj-v37r-2p6hghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-40586ghsaADVISORY
- github.com/corazawaf/coraza-caddy/issues/48ghsaWEB
- github.com/corazawaf/coraza/blob/82157f85f24c6107667bf0f686b71a72aafdf8a5/internal/bodyprocessors/multipart.goghsaWEB
- github.com/corazawaf/coraza/commit/24af0c8cf4f10bab558740b595712be3b85493ecghsaWEB
- github.com/corazawaf/coraza/commit/a5239ba3ce839e14d9b4f9486e1b4a403dcade8cghsax_refsource_MISCWEB
- github.com/corazawaf/coraza/commit/e1b119b83e12c64f0957e00e8cad45a1b5f012f8ghsaWEB
- github.com/corazawaf/coraza/releases/tag/v3.0.1ghsaWEB
- github.com/corazawaf/coraza/security/advisories/GHSA-c2pj-v37r-2p6hghsax_refsource_CONFIRMWEB
- github.com/golang/go/blob/a031f4ef83edc132d5f49382bfef491161de2476/src/log/log.goghsaWEB
News mentions
0No linked articles in our index yet.