cve.bz

CVE-2022-28946 openpolicyagent open policy agent

7.5 highEPSS 1.0%Fix available

High (7.5) in openpolicyagent open policy agent. EPSS 1.0% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/open-policy-agent/opa 0.40.0.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 65th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-28946 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-28946?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-28946?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-28946 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
openpolicyagent:open_policy_agent0.39.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-x7f3-62pm-9p38Gogithub.com/open-policy-agent/opa<0.40.00.40.0
GO-2022-0587Gogithub.com/open-policy-agent/opa<0.40.00.40.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
SUSEPackage Hub 15 SP3trivy0.30.4-bp153.8.1openSUSE-SU-2022:10094-1
SUSEPackage Hub 15 SP4trivy0.28.0-bp154.2.3.1openSUSE-SU-2022:10022-1
openSUSELeap 15.3trivy0.30.4-bp153.8.1openSUSE-SU-2022:10094-1
openSUSELeap 15.4trivy0.28.0-bp154.2.3.1openSUSE-SU-2022:10022-1
openSUSETumbleweedstarboard0.15.6-1.1openSUSE-SU-2024:12128-1
openSUSETumbleweedtrivy0.28.0-1.1openSUSE-SU-2024:12102-1

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: SUSE · openSUSE.

References

Check your stackJSON