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

    Threat Intelligence

    EPSS
    0.05% (17th 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 ID SNYK-GOLANG-GITHUBCOMCILIUMCILIUMOPERATORPKGGATEWAYAPI-7707746
  • published 18 Aug 2024
  • disclosed 16 Aug 2024
  • credit Unknown

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
Expand this section

Snyk

Recommended
6.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    Present
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    Low
  • Integrity (VI)
    None
  • Availability (VA)
    None
  • Confidentiality (SC)
    Low
  • Integrity (SI)
    None
  • Availability (SA)
    None