Security mailing lists by PureSourceCode

CVE-2022-28946

HIGH 7.5CVSS 3.1

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

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.

Published
19 May 2022
Last modified
10 Sep 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-119
Also known as
GHSA-x7f3-62pm-9p38GO-2022-0587
Sources
NVDJSONOSV GHSA-x7f3-62pm-9p38JSONOSV GO-2022-0587JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD openpolicyagent open_policy_agent
cpe:2.3:a:openpolicyagent:open_policy_agent:0.39.0:*:*:*:*:*:*:*
= 0.39.0
OSV Go github.com/open-policy-agent/opa < 0.40.0 0.40.0

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 19 May 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 May 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.