NetSight
medium4.3

CVE-2021-3856

Keycloak has Files or Directories Accessible to External Parties

Impact

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 packages

EcosystemPackageAffectedFixed in
mavenorg.keycloak:keycloak-core< 15.1.015.1.0

Affected products

VendorProductAffected versions
RedhatKeycloak
before 15.1.0

Weakness classification

References