CVE-2021-43979

Styra Open Policy Agent (OPA) Gatekeeper through 3.7.0 mishandles concurrency, sometimes resulting in incorrect access control. The data replication mechanism allows policies to access the Kubernetes cluster state. During data replication, OPA/Gatekeeper does not wait for the replication to finish before processing a request, which might cause inconsistencies between the replicated resources in OPA/Gatekeeper and the resources actually present in the cluster. Inconsistency can later be reflected in a policy bypass. NOTE: the vendor disagrees that this is a vulnerability, because Kubernetes states are only eventually consistent
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:openpolicyagent:gatekeeper:*:*:*:*:*:*:*:*

History

07 Nov 2023, 03:39

Type Values Removed Values Added
Summary ** DISPUTED ** Styra Open Policy Agent (OPA) Gatekeeper through 3.7.0 mishandles concurrency, sometimes resulting in incorrect access control. The data replication mechanism allows policies to access the Kubernetes cluster state. During data replication, OPA/Gatekeeper does not wait for the replication to finish before processing a request, which might cause inconsistencies between the replicated resources in OPA/Gatekeeper and the resources actually present in the cluster. Inconsistency can later be reflected in a policy bypass. NOTE: the vendor disagrees that this is a vulnerability, because Kubernetes states are only eventually consistent. Styra Open Policy Agent (OPA) Gatekeeper through 3.7.0 mishandles concurrency, sometimes resulting in incorrect access control. The data replication mechanism allows policies to access the Kubernetes cluster state. During data replication, OPA/Gatekeeper does not wait for the replication to finish before processing a request, which might cause inconsistencies between the replicated resources in OPA/Gatekeeper and the resources actually present in the cluster. Inconsistency can later be reflected in a policy bypass. NOTE: the vendor disagrees that this is a vulnerability, because Kubernetes states are only eventually consistent

12 Jul 2022, 17:42

Type Values Removed Values Added
CWE CWE-755 CWE-670

22 Nov 2021, 15:18

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 5.0
v3 : 5.3
CPE cpe:2.3:a:openpolicyagent:gatekeeper:*:*:*:*:*:*:*:*
CWE CWE-755
References (MISC) https://github.com/open-policy-agent/gatekeeper/releases - (MISC) https://github.com/open-policy-agent/gatekeeper/releases - Patch, Third Party Advisory
References (MISC) https://github.com/hkerma/opa-gatekeeper-concurrency-issue - (MISC) https://github.com/hkerma/opa-gatekeeper-concurrency-issue - Third Party Advisory

17 Nov 2021, 19:24

Type Values Removed Values Added
New CVE

Information

Published : 2021-11-17 19:15

Updated : 2024-05-17 02:02


NVD link : CVE-2021-43979

Mitre link : CVE-2021-43979

CVE.ORG link : CVE-2021-43979


JSON object : View

Products Affected

openpolicyagent

  • gatekeeper
CWE
CWE-670

Always-Incorrect Control Flow Implementation