Live threats

All CVEs / Coraza

CVE-2023-40586Coraza

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Aug 25, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Coraza.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/corazawaf/coraza/v2 ≥ 2.0.0 ≤ 2.0.1 no fixed version —
Go github.com/corazawaf/coraza/v2 all no fixed version —
Go github.com/corazawaf/coraza/v3 ≥ 3.0.0 < 3.0.1 3.0.1 go get github.com/corazawaf/coraza/v3@v3.0.1
Go github.com/corazawaf/coraza/v3 < 3.0.1 3.0.1 go get github.com/corazawaf/coraza/v3@v3.0.1

Per OSV / GitHub Advisories (GHSA-c2pj-v37r-2p6h, GO-2023-1874). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
corazacoraza3.0.0

Official sources

References

Links published by the sources. Open them with care.