CVE-2021-43979

Source
https://cve.org/CVERecord?id=CVE-2021-43979
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-43979.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-43979
Published
2021-11-17T19:15:09.220Z
Modified
2026-03-14T11:16:38.028746Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
[none]
Details

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

Affected packages

Git / github.com/open-policy-agent/gatekeeper

Affected ranges

Type
GIT
Repo
https://github.com/open-policy-agent/gatekeeper
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "3.7.0"
        }
    ]
}

Affected versions

v2.*
v2.0.1
v3.*
v3.0.0
v3.0.1
v3.0.2
v3.0.3
v3.0.4-alpha.0
v3.0.4-alpha.1
v3.0.4-beta.0
v3.0.4-beta.1
v3.0.4-beta.2
v3.1.0-beta.0
v3.1.0-beta.1
v3.1.0-beta.10
v3.1.0-beta.11
v3.1.0-beta.12
v3.1.0-beta.2
v3.1.0-beta.3
v3.1.0-beta.4
v3.1.0-beta.5
v3.1.0-beta.6
v3.1.0-beta.7
v3.1.0-beta.8
v3.1.0-beta.9
v3.1.0-rc.1
v3.2.0
v3.2.0-rc.1
v3.3.0-beta.1
v3.3.0-beta.2
v3.4.0
v3.4.0-beta.0
v3.4.0-rc.1
v3.5.0-rc.1
v3.6.0
v3.6.0-beta.1
v3.6.0-beta.2
v3.6.0-beta.3
v3.7.0
v3.7.0-beta.1
v3.7.0-beta.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-43979.json"