Information Exposure Affecting github.com/cilium/cilium/operator/pkg/gateway-api package, versions >=1.15.0 <1.15.8>=1.16.0 <1.16.1


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.05% (18th 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-7707746
  • published18 Aug 2024
  • disclosed16 Aug 2024
  • creditUnknown

Introduced: 16 Aug 2024

CVE-2024-42486  (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.15.8, 1.16.1 or higher.

Overview

Affected versions of this package are vulnerable to Information Exposure due to incorrect ReferenceGrant update logic in the Gateway API. An attacker can access secrets in other namespaces by exploiting the delay in propagating changes to ReferenceGrants, allowing unauthorized access to sensitive information.

Note: This is only exploitable if the associated ReferenceGrant has been revoked, but the changes have not yet been propagated.

Workaround

This vulnerability can be mitigated by modifying any related Gateway/HTTPRoute/GRPCRoute/TCPRoute CRD, such as adding any label to these resources, which will trigger a reconciliation of ReferenceGrants on an affected cluster.

CVSS Scores

version 4.0
version 3.1