Lucene search

K
githubGitHub Advisory DatabaseGHSA-VWF8-Q6FW-4WCM
HistoryAug 16, 2024 - 6:45 p.m.

Cilium leaks information via incorrect ReferenceGrant update logic in Gateway API

2024-08-1618:45:20
CWE-200
GitHub Advisory Database
github.com
11
cilium
gatewayapi
referencegrant
information leakage
patch
workaround
cure53
isovalent
security advisory
vulnerability discovery

CVSS3

5.4

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N

AI Score

6.7

Confidence

High

EPSS

0

Percentile

16.3%

Impact

Due to ReferenceGrant changes not being immediately propagated in Cilium’s GatewayAPI controller, Gateway resources are able to access secrets in other namespaces after the associated ReferenceGrant has been revoked. This can lead to Gateways continuing to establish sessions using secrets that they should no longer have access to.

Patches

This issue was resolved in https://github.com/cilium/cilium/pull/34032.

This issue affects:

  • Cilium v1.15 between v1.15.0 and v1.15.7 inclusive
  • Cilium v1.16.0

This issue has been patched in:

  • Cilium v1.15.8
  • Cilium v1.16.1

Workarounds

Any modification of a related Gateway/HTTPRoute/GRPCRoute/TCPRoute CRD (for example, adding any label to any of these resources) will trigger a reconciliation of ReferenceGrants on an affected cluster.

Acknowledgements

The Cilium community has worked together with members of Cure53 and Isovalent to prepare these mitigations. Special thanks to @sayboras for resolving this issue.

For more information

If you have any questions or comments about this advisory, please reach out on Slack.

If you think you have found a vulnerability affecting Cilium, we strongly encourage you to report it to our security mailing list at [email protected]. This is a private mailing list for the Cilium security team, and your report will be treated as top priority.

Affected configurations

Vulners
Node
ciliumciliumRange1.15.01.15.8
OR
ciliumciliumMatch1.16.0
VendorProductVersionCPE
ciliumcilium*cpe:2.3:a:cilium:cilium:*:*:*:*:*:*:*:*
ciliumcilium1.16.0cpe:2.3:a:cilium:cilium:1.16.0:*:*:*:*:*:*:*

CVSS3

5.4

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N

AI Score

6.7

Confidence

High

EPSS

0

Percentile

16.3%