Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/open-policy-agent/opa
  4. ›
  5. CVE-2022-33082

CVE-2022-33082: Denial of service in Open Policy Agent

July 1, 2022 (updated July 13, 2022)

An issue in the AST parser (ast/compile.go) of Open Policy Agent v0.10.2 allows attackers to cause a Denial of Service (DoS) via a crafted input.

References

  • github.com/advisories/GHSA-2m4x-4q9j-w97g
  • github.com/open-policy-agent/opa/blob/598176de326025451025225aca53e85708d5f1db/ast/compile.go
  • github.com/open-policy-agent/opa/commit/064f6168a8dfebdeb2ea147f7882bb9f5d2b7f67
  • github.com/open-policy-agent/opa/issues/4761
  • github.com/open-policy-agent/opa/issues/4762
  • nvd.nist.gov/vuln/detail/CVE-2022-33082

Code Behaviors & Features

Detect and mitigate CVE-2022-33082 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.42.0

Fixed versions

  • 0.42.0

Solution

Upgrade to version 0.42.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Source file

go/github.com/open-policy-agent/opa/CVE-2022-33082.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:20 +0000.