Cloud Foundry UAA denial of service in private_key_jwt JWKS parsing
Cloud Foundry UAA · Cloud Foundry cf-deployment
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Cloud Foundry UAA |
| No fix yet |
| Cloud Foundry cf-deployment |
| No fix yet |
Original description
A denial-of-service vulnerability exists in UAA's private_key_jwt client-authentication mechanism. When UAA retrieves a remote JWKS URI, it caches the response. Invalid authentication attempts can trigger full deserialization of this cached data. An attacker with prerequisites (write access to clients or a compromised endpoint) can send anonymous requests that force repeated parsing of large cached objects, causing excessive CPU usage and potential Java heap exhaustion via OutOfMemoryError, resulting in service unavailability.