golang / vulndb

[mirror] The Go Vulnerability Database
Other
562 stars 60 forks source link

x/vulndb: potential Go vuln in github.com/open-policy-agent/gatekeeper: CVE-2021-43979 #268

Closed GoVulnBot closed 2 years ago

GoVulnBot commented 2 years ago

In CVE-2021-43979, the reference URL github.com/open-policy-agent/gatekeeper (and possibly others) refers to something in Go.

module: github.com/open-policy-agent/gatekeeper
package: n/a
description: |
  ** 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.
cves:
- CVE-2021-43979
links:
  context:
  - https://github.com/hkerma/opa-gatekeeper-concurrency-issue
  - https://github.com/open-policy-agent/gatekeeper/releases

See doc/triage.md for instructions on how to triage this report.

neild commented 2 years ago

Vulnerability in tool.

gopherbot commented 4 months ago

Change https://go.dev/cl/592766 mentions this issue: data/reports: unexclude 50 reports