{"id":"CVE-2023-40586","state":"PUBLISHED","title":"go package github.com/corazawaf/coraza is vulnerable to denial of service","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.\n","publishedAt":"2023-08-25T20:35:27.459Z","updatedAt":"2024-10-02T14:41:35.285Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["corazawaf coraza"],"affected":[{"vendor":"corazawaf","product":"coraza","versions":[{"version":"< 3.0.1","status":"affected"}]}],"references":["https://github.com/corazawaf/coraza/security/advisories/GHSA-c2pj-v37r-2p6h","https://github.com/corazawaf/coraza/commit/a5239ba3ce839e14d9b4f9486e1b4a403dcade8c"],"weaknesses":["CWE-400"],"ingestedAt":"2026-10-29T20:06:17.512Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/40xxx/CVE-2023-40586.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-40586","state":"PUBLISHED","datePublished":"2023-08-25T20:35:27.459Z","dateUpdated":"2024-10-02T14:41:35.285Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-08-16T18:24:02.392Z"},"containers":{"cna":{"title":"go package github.com/corazawaf/coraza is vulnerable to denial of service","descriptions":[{"lang":"en","value":"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.\n"}],"affected":[{"vendor":"corazawaf","product":"coraza","versions":[{"version":"< 3.0.1","status":"affected"}]}],"references":[{"url":"https://github.com/corazawaf/coraza/security/advisories/GHSA-c2pj-v37r-2p6h","name":"https://github.com/corazawaf/coraza/security/advisories/GHSA-c2pj-v37r-2p6h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/corazawaf/coraza/commit/a5239ba3ce839e14d9b4f9486e1b4a403dcade8c","name":"https://github.com/corazawaf/coraza/commit/a5239ba3ce839e14d9b4f9486e1b4a403dcade8c","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-400","lang":"en","description":"CWE-400: Uncontrolled Resource Consumption","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-08-25T20:35:27.459Z"},"source":{"advisory":"GHSA-c2pj-v37r-2p6h","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/corazawaf/coraza/security/advisories/GHSA-c2pj-v37r-2p6h","name":"https://github.com/corazawaf/coraza/security/advisories/GHSA-c2pj-v37r-2p6h","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/corazawaf/coraza/commit/a5239ba3ce839e14d9b4f9486e1b4a403dcade8c","name":"https://github.com/corazawaf/coraza/commit/a5239ba3ce839e14d9b4f9486e1b4a403dcade8c","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T18:38:50.961Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-10-02T14:38:08.187080Z","id":"CVE-2023-40586","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-02T14:41:35.285Z"}}]}}}