The vulnerability, as described, allows for refresh token replay after a server restart due to a reset of internal timing mechanisms. The provided patches all point to a single file, services/src/main/java/org/keycloak/protocol/oidc/TokenManager.java, and a specific method, validateTokenReuse. The change in the patch is the removal of a check that compares the token's last refresh time with the server's startup time (startupTime <= lastRefresh). This check is the root cause of the vulnerability. After a server restart, startupTime is updated, which could make a previously revoked (and therefore stale) token appear valid again. The vulnerable function is org.keycloak.protocol.oidc.TokenManager.validateTokenReuse because it contained this flawed logic. The fix removes the dependency on the server startup time for token validation, thus mitigating the replay attack.