GitHub Advisoryadvisory · Go

GHSA-x7f3-62pm-9p38 Out of bounds memory access in github.com/open-policy-agent/opa

HIGH Published 2022-05-20 Modified 2022-05-31 Official page ↗
Aliases
CVE-2022-28946
Ecosystem
Go
Packages
github.com/open-policy-agent/opa
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-119
Reviewed
2022-05-25

Affected packages

• Go github.com/open-policy-agent/opa: < 0.40.0 → fixed in 0.40.0

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.

Related

Alias · CVE (1)

  • CVE-2022-28946 An issue in the component ast/parser.go of Open Policy Agent v0.39.0 causes the application to incorrectly interpret every expression,… vulnerability

Weakness · CWE (1)

  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness

References