Description
It was found that Keycloak oauth would permit an authenticated resource to obtain an access/refresh token pair from the authentication server, permitting indefinite usage in the case of permission revocation. An attacker on an already compromised resource could use this flaw to grant himself continued permissions and possibly conduct further attacks.
Remediation
References
https://bugzilla.redhat.com/show_bug.cgi?id=1484154
https://access.redhat.com/errata/RHSA-2017:2906
https://access.redhat.com/errata/RHSA-2017:2905
https://access.redhat.com/errata/RHSA-2017:2904
Related Vulnerabilities
CVE-2020-7596 Vulnerability in npm package codecov
CVE-2022-41935 Vulnerability in maven package org.xwiki.platform:xwiki-platform-livetable-ui
CVE-2022-42003 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind
CVE-2022-41915 Vulnerability in maven package io.netty:netty-codec
CVE-2020-15366 Vulnerability in maven package org.webjars.npm:ajv