Bug 2196440 (CVE-2022-33082)

Summary: CVE-2022-33082 open-policy-agent: possible DoS via crafted input
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dfreiber, jburrell, jcantril, rogbas, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: open-policy-agent 0.42.0 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Open Policy Agent, where it is vulnerable to a denial of service caused by an issue in the AST parser (ast/compile.go). This flaw allows an attacker to cause a denial of service by sending specially-crafted input.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2196450    
Bug Blocks: 2196461    

Description Marian Rehak 2023-05-09 07:19:20 UTC
An issue in the AST parser (ast/compile.go) of Open Policy Agent v0.10.2 allows attackers to cause a Denial of Service (DoS) via a crafted input.

Reference:

https://github.com/open-policy-agent/opa/blob/598176de326025451025225aca53e85708d5f1db/ast/compile.go#L1224

Comment 1 Marian Rehak 2023-05-09 08:24:11 UTC
Created open-policy-agent tracking bugs for this issue:

Affects: fedora-all [bug 2196450]