| { |
| "schema_version": "1.3.1", |
| "id": "GO-2023-1874", |
| "modified": "0001-01-01T00:00:00Z", |
| "published": "0001-01-01T00:00:00Z", |
| "aliases": [ |
| "CVE-2023-40586", |
| "GHSA-c2pj-v37r-2p6h" |
| ], |
| "summary": "Denial of service in github.com/corazawaf/coraza/v2 and v3", |
| "details": "Due to the misuse of log.Fatalf, Coraza may crash after receiving crafted requests from attackers.", |
| "affected": [ |
| { |
| "package": { |
| "name": "github.com/corazawaf/coraza/v2", |
| "ecosystem": "Go" |
| }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { |
| "introduced": "0" |
| } |
| ] |
| } |
| ], |
| "ecosystem_specific": { |
| "imports": [ |
| { |
| "path": "github.com/corazawaf/coraza/v2/bodyprocessors", |
| "symbols": [ |
| "multipartBodyProcessor.Read" |
| ] |
| } |
| ] |
| } |
| }, |
| { |
| "package": { |
| "name": "github.com/corazawaf/coraza/v3", |
| "ecosystem": "Go" |
| }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { |
| "introduced": "0" |
| }, |
| { |
| "fixed": "3.0.1" |
| } |
| ] |
| } |
| ], |
| "ecosystem_specific": { |
| "imports": [ |
| { |
| "path": "github.com/corazawaf/coraza/v3/internal/bodyprocessors", |
| "symbols": [ |
| "multipartBodyProcessor.ProcessRequest" |
| ] |
| } |
| ] |
| } |
| } |
| ], |
| "references": [ |
| { |
| "type": "ADVISORY", |
| "url": "https://github.com/corazawaf/coraza/security/advisories/GHSA-c2pj-v37r-2p6h" |
| }, |
| { |
| "type": "FIX", |
| "url": "https://github.com/corazawaf/coraza/commit/a5239ba3ce839e14d9b4f9486e1b4a403dcade8c" |
| }, |
| { |
| "type": "WEB", |
| "url": "https://github.com/corazawaf/coraza/releases/tag/v3.0.1" |
| } |
| ], |
| "credits": [ |
| { |
| "name": "rmb122" |
| } |
| ], |
| "database_specific": { |
| "url": "https://pkg.go.dev/vuln/GO-2023-1874" |
| } |
| } |