Descrizione
A flaw was found in the Kuadrant WebAssembly (WASM) shim shipped in Red Hat Connectivity Link 1.5. When a TokenRateLimitPolicy is attached to an HTTPRoute that also has an AuthPolicy - or when a RateLimitPolicy with defaults or overrides is attached to the Gateway or listener of such routes - the shim's action pipeline fails to dispatch the authentication guard at request time, and the request is forwarded upstream. Unauthenticated requests return 200 OK instead of 401, and neither authentication nor rate limiting is enforced. Both policies continue to report Enforced, leaving no status-level indication of the failure.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.7, EPSS 0.5% (percentile 31).
Versioni da aggiornare
Il record non riporta ancora i prodotti e le versioni corrette (analisi NVD in corso). Consultare l'advisory del vendor nei riferimenti.
Indicazioni del vendor
Workaround (testo originale del vendor):
To mitigate this issue, do not attach a TokenRateLimitPolicy to HTTPRoutes that are protected by an AuthPolicy, and do not attach a RateLimitPolicy with defaults or overrides to a Gateway or listener whose routes carry a TokenRateLimitPolicy. Enforce request limits with a route-level request-based RateLimitPolicy instead, which correctly enforces both authentication and rate limiting in this configuration. After any policy change, verify enforcement by sending requests to the route from outside the cluster without credentials and confirming they are rejected with HTTP 401.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Restringere l'accesso al componente, applicare il principio del minimo privilegio e controllare i log per operazioni non autorizzate.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.