Advisory

GHSA-x7f3-62pm-9p38

Also known as: CVE-2022-28946, GO-2022-0587

Summary

Out of bounds memory access in github.com/open-policy-agent/opa

Details

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

High Basis: The source's own band: HIGH

Dates

Published
2022-05-20 00:00 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

github.com/open-policy-agent/opa

Go · All systems

Affected

  • introduced 0, fixed 0.40.0 (semver)

Fixed versions

0.40.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences