Advisory

GO-2022-0587

Also known as: CVE-2022-28946, GHSA-x7f3-62pm-9p38

Summary

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

Details

An issue in ast.Parser in Open Policy Agent causes the application to incorrectly interpret expressions, allowing a Denial of Service (DoS) via triggering out-of-range memory access.

Severity

Not rated by the source.

Dates

Published
2022-05-20 00:00 UTC
Modified
2026-02-04 02:27 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: Go Vulnerability Database · CC BY 4.0

Sources & licences