MEDIUM4.3
GHSA-3w4v-rvc4-2xpw
Keycloak has Files or Directories Accessible to External Parties
Quick fix
GHSA-3w4v-rvc4-2xpw — org.keycloak:keycloak-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>15.1.0</version> for org.keycloak:keycloak-coreDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.keycloak:keycloak-core
Introduced in:
0Fixed in: 15.1.0Fix
# pom.xml: bump <version>15.1.0</version> for org.keycloak:keycloak-coreReferences
- https://nvd.nist.gov/vuln/detail/CVE-2021-3856[ADVISORY]
- https://github.com/keycloak/keycloak/pull/8588[WEB]
- https://github.com/keycloak/keycloak/commit/73f0474008e1bebd0733e62a22aceda9e5de6743[WEB]
- https://access.redhat.com/security/cve/CVE-2021-3856[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=2010164[WEB]
- https://github.com/keycloak/keycloak[PACKAGE]
- https://issues.redhat.com/browse/KEYCLOAK-19422[WEB]