Information Exposure Affecting github.com/cilium/cilium/operator/pkg/gateway-api package, versions <1.3.4


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (27th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMCILIUMCILIUMOPERATORPKGGATEWAYAPI-5710974
  • published16 Jun 2023
  • disclosed16 Jun 2023
  • creditmeyskens

Introduced: 16 Jun 2023

CVE-2023-34242  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade github.com/cilium/cilium/operator/pkg/gateway-api to version 1.3.4 or higher.

Overview

Affected versions of this package are vulnerable to Information Exposure when the Gateway API component is enabled. Exploiting this vulnerability is possible due to the absence of a check on the namespace in which a ReferenceGrant is created, and allows an attacker to gain visibility of secrets and services across namespaces.

Workaround

Restrict the creation of ReferenceGrant resources to admin users by using Kubernetes RBAC.

CVSS Scores

version 3.1