CVE-2021-43979
JSON

5.3medium

Styra Open Policy Agent (OPA) Gatekeeper through 3.7.0 mishandles concurrency, sometimes resulting in incorrect access control.

Severity
5.3medium CVSS:3.1 by NVD
Exploit likelihood
1.05% (higher than 64% of CVEs)
Published
Last changed
Assigned by
mitre

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

Product or packageVersionsReported by
Unspecified productn/aCVE List
openpolicyagent gatekeeperup to 3.7.0NVD

All scores

NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:P/A:N

Classification

What each source says

CVE List

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

NVD (es)

** EN DISPUTA ** Styra Open Policy Agent (OPA) Gatekeeper versiones hasta 3.7.0, maneja inapropiadamente la concurrencia, a veces resultando en un control de acceso incorrecto. El mecanismo de replicación de datos permite que las políticas accedan al estado del clúster de Kubernetes. Durante la replicación de datos, OPA/ Gatekeeper no espera a que finalice la replicación antes de procesar una petición, lo que podría causar inconsistencias entre los recursos replicados en OPA / Gatekeeper y los recursos realmente presentes en el clúster. La inconsistencia puede ser reflejada más tarde en una omisión de la política. NOTA: el proveedor no está de acuerdo con que se trate de una vulnerabilidad, porque los estados de Kubernetes solo son finalmente consistentes

References

Sources

SourceRecordLicence
CVE ListCVE-2021-43979 changed 2024-08-04CVE Terms of Use
NVDCVE-2021-43979 changed 2026-06-17Public domain