CVEvulnerability
CVE-2021-43979
5.3 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2021-11-17
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-670
Description
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
Affected configurations
• openpolicyagent gatekeeper (<= 3.7.0)
Related
Weakness · CWE (1)
- CWE-670 Always-Incorrect Control Flow Implementation weakness
References
- https://github.com/hkerma/opa-gatekeeper-concurrency-issue Third Party Advisory
- https://github.com/open-policy-agent/gatekeeper/releases Patch, Third Party Advisory
- https://github.com/hkerma/opa-gatekeeper-concurrency-issue Third Party Advisory
- https://github.com/open-policy-agent/gatekeeper/releases Patch, Third Party Advisory