CVE-2021-43979 Race condition in n/a
Attackers can bypass access control policies in OPA Gatekeeper due to a race condition during data replication, allowing unauthorized actions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-43979?
CVE-2021-43979 is a medium-severity vulnerability in n/a, published on 17 Nov 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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
Weakness: CWE-670
Which versions are affected by CVE-2021-43979?
It affects 1 product.
Products include Openpolicyagent Gatekeeper.
How do I fix CVE-2021-43979?
No fix has been published for CVE-2021-43979 yet. Limit exposure of the affected software until one is available.
Is CVE-2021-43979 being exploited?
There is no known exploitation of CVE-2021-43979 in the wild and no public exploit code.
Sources
Also known as GHSA-v8hv-78vf-x9fr.