CVE-2023-40586: GO-2023-1874 - Denial of service in github.com/corazawaf/coraza/v2 and v3

CVE-2023-40586 · Severity: low · CVSS 3.1 · Published 2023-07-05

Denial of service in github.com/corazawaf/coraza/v2 and v3

Technologies: github.com/corazawaf/coraza/v2 (Go), github.com/corazawaf/coraza/v3 (Go). Vendors: Go.

Quick answers

Is CVE-2023-40586 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2023-40586 being exploited in the wild.
How severe is CVE-2023-40586?
Low severity, with a CVSS score of 3.1, published 5 July 2023.
Which products and versions are affected?
github.com/corazawaf/coraza/v2 (Go) SEMVER:introduced=0, SEMVER:introduced=2.0.0,last_affected=2.0.1; github.com/corazawaf/coraza/v3 (Go) SEMVER:introduced=0,fixed=3.0.1, SEMVER:introduced=3.0.0,fixed=3.0.1.
Is there a fix for CVE-2023-40586?
Yes. github.com/corazawaf/coraza/v3 (Go): upgrade to 3.0.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2023-40586?
Check whether you run github.com/corazawaf/coraza/v2 (Go) or github.com/corazawaf/coraza/v3 (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • github.com/corazawaf/coraza/v3 (Go): upgrade to 3.0.1 or later
    go get github.com/corazawaf/coraza/v3@v3.0.1

Affected products

  • github.com/corazawaf/coraza/v2 (Go) SEMVER:introduced=0, SEMVER:introduced=2.0.0,last_affected=2.0.1
  • github.com/corazawaf/coraza/v3 (Go) SEMVER:introduced=0,fixed=3.0.1, SEMVER:introduced=3.0.0,fixed=3.0.1

Identifiers

  • CVE-2023-40586
  • GHSA-c2pj-v37r-2p6h
  • GO-2023-1874

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.