Bug 2305326 (CVE-2024-42486)

Summary: CVE-2024-42486 cilium/ebpf: Gateway resources continue to establish sessions using revoked ReferenceGrants
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerability-draftAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: adudiak, ahanwate, bdettelb, danken, dholler, doconnor, eglynn, fdeutsch, gparvin, jjoyce, jkoehler, jsafrane, jschluet, jwendell, jwest, kshier, lbainbri, lhh, lsvaty, mburns, mgarciac, njean, omaciel, oramraz, owatkins, pahickey, pgrist, phoracek, rcernich, rhaigner, rhos-maint, smullick, stcannon, stirabos, teagle, tsweeney, twalsh, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in Cilium. 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.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2311433, 2311432, 2311434, 2311435, 2311437, 2311438, 2311439, 2311440, 2311441, 2311442, 2311443, 2311444, 2311445, 2311446, 2311447, 2311448, 2311449, 2311450, 2311451, 2311452, 2311453, 2311454, 2311455, 2311456, 2311457, 2311458, 2311460    
Bug Blocks:    

Description OSIDB Bzimport 2024-08-16 15:20:45 UTC
Cilium is a networking, observability, and security solution with an eBPF-based dataplane. In versions on the 1.15.x branch prior to 1.15.8 and the 1.16.x branch prior to 1.16.1, ReferenceGrant changes are not correctly propagated in Cilium's GatewayAPI controller, which could lead to Gateway resources being able to access secrets for longer than intended, or to Routes having the ability to forward traffic to backends in other namespaces for longer than intended. This issue has been patched in Cilium v1.15.8 and v1.16.1. As a workaround, 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.