golang / vulndb

[mirror] The Go Vulnerability Database
Other
560 stars 58 forks source link

x/vulndb: potential Go vuln in github.com/istio/istio/security: CVE-2022-21701 #299

Closed GoVulnBot closed 2 years ago

GoVulnBot commented 2 years ago

In CVE-2022-21701, the reference URL github.com/istio/istio/security (and possibly others) refers to something in Go.

module: github.com/istio/istio/security
package: istio
description: |
    Istio is an open platform to connect, manage, and secure microservices. In versions 1.12.0 and 1.12.1 Istio is vulnerable to a privilege escalation attack. Users who have `CREATE` permission for `gateways.gateway.networking.k8s.io` objects can escalate this privilege to create other resources that they may not have access to, such as `Pod`. This vulnerability impacts only an Alpha level feature, the Kubernetes Gateway API. This is not the same as the Istio Gateway type (gateways.networking.istio.io), which is not vulnerable. Users are advised to upgrade to resolve this issue. Users unable to upgrade should implement any of the following which will prevent this vulnerability: Remove the gateways.gateway.networking.k8s.io CustomResourceDefinition, set PILOT_ENABLE_GATEWAY_API_DEPLOYMENT_CONTROLLER=true environment variable in Istiod, or remove CREATE permissions for gateways.gateway.networking.k8s.io objects from untrusted users.
cves:
  - CVE-2022-21701
links:
    context:
      - https://github.com/istio/istio/security/advisories/GHSA-mq8f-9446-c28r
      - https://istio.io/latest/news/releases/1.12.x/announcing-1.12.2/

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

neild commented 2 years ago

Vulnerability in tool.

gopherbot commented 3 months ago

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