Live threats

All CVEs / Openpolicyagent

CVE-2022-28946Openpolicyagent Open Policy Agent

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.1%
probability of exploitation in 30 days · percentile 64
Auth required
No
Published
May 19, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

An issue in the component ast/parser.go of Open Policy Agent v0.39.0 causes the application to incorrectly interpret every expression, causing a Denial of Service (DoS) via triggering out-of-range memory access.

Original NVD text.

What to do

  1. Apply the vendor's security update for Open Policy Agent.
  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/open-policy-agent/opa < 0.40.0 0.40.0 go get github.com/open-policy-agent/opa@v0.40.0
Go github.com/open-policy-agent/opa < 0.40.0 0.40.0 go get github.com/open-policy-agent/opa@v0.40.0

Per OSV / GitHub Advisories (GHSA-x7f3-62pm-9p38, GO-2022-0587). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
openpolicyagentopen_policy_agent0.39.0

Official sources

References

Links published by the sources. Open them with care.