Skip to content
OpenAdvisories
High · 7.5 CVE-2022-28946 EUVD-2022-5738GHSA-x7f3-62pm-9p38GO-2022-0587

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

Published May 19, 2022 · Updated Aug 3, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP4 trivy 0.28.0-bp154.2.3.1 openSUSE-SU-2022:10022-1
SUSE Package Hub 15 SP3 trivy 0.30.4-bp153.8.1 openSUSE-SU-2022:10094-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed starboard 0.15.6-1.1 openSUSE-SU-2024:12128-1
openSUSE Tumbleweed trivy 0.28.0-1.1 openSUSE-SU-2024:12102-1
openSUSE Leap 15.4 trivy 0.28.0-bp154.2.3.1 openSUSE-SU-2022:10022-1
openSUSE Leap 15.3 trivy 0.30.4-bp153.8.1 openSUSE-SU-2022:10094-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling opa 0.64.1-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/open-policy-agent/opa < 0.40.0 0.40.0 GHSA-x7f3-62pm-9p38

Advisories 4

References