Skip to content
OpenAdvisories
Medium · 4.3 CVE-2021-3856 EUVD-2022-6472GHSA-3w4v-rvc4-2xpw

Keycloak has Files or Directories Accessible to External Parties

Published Aug 26, 2022 · Updated Aug 3, 2024 · Assigned by redhat

Description

ClassLoaderTheme and ClasspathThemeResourceProviderFactory allows reading any file available as a resource to the classloader. By sending requests for theme resources with a relative path from an external HTTP client, the client will receive the content of random files if available.

Affected products

VendorProductAffectedFixed
— keycloak Fixed in 15.1.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Single Sign On 7 rh-sso7 +1 1-4.el7sso RHBA-2022:5454, RHBA-2022:5452
Red Hat Single Sign On 7 rh-sso7-javapackages-tools +1 3.4.1-5.15.3.jbcs.el7 RHBA-2022:5454, RHBA-2022:5452
Red Hat Single Sign On 7 rh-sso7-keycloak +1 18.0.0-2.redhat_00001.1.el7sso RHBA-2022:5454, RHBA-2022:5452
Red Hat Single Sign On 7 rh-sso7-python3-javapackages 3.4.1-5.15.6.el8sso RHBA-2022:5454

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.keycloak:keycloak-core < 15.1.0 15.1.0 GHSA-3w4v-rvc4-2xpw

Advisories 2

References