{"id":"CVE-2021-3856","published":"2022-08-26T15:25:39Z","modified":"2024-08-03T17:09:09Z","title":"ClassLoaderTheme and ClasspathThemeResourceProviderFactory allows reading any file available as a resource to the…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01225,"percentile":0.69546,"provenance":"source"},"cwes":[{"id":"CWE-552","name":"Files or Directories Accessible to External Parties"}],"references":[{"url":"https://issues.redhat.com/browse/KEYCLOAK-19422","tags":["x_refsource_MISC"]},{"url":"https://github.com/keycloak/keycloak/pull/8588","tags":["x_refsource_MISC"]},{"url":"https://github.com/keycloak/keycloak/commit/73f0474008e1bebd0733e62a22aceda9e5de6743","tags":["x_refsource_MISC"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2010164","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-3856","tags":["x_refsource_MISC"]}],"priority":{"score":13.9,"factors":[{"name":"EPSS percentile","points":13.91}]},"affectedVersions":[{"vendor":"n/a","product":"keycloak","versions":["Fixed in 15.1.0"]}],"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-core","vulnerableRanges":["<15.1.0"],"patched":["15.1.0"],"from":["GHSA-3w4v-rvc4-2xpw"],"provenance":"source"}],"summary":{"text":"The flaw lies in the ClassLoaderTheme and ClasspathThemeResourceProviderFactory components, which serve theme resources to HTTP clients. Because these components do not restrict relative paths, an attacker who can reach the affected interface over HTTP can request arbitrary files available to the classloader and receive their contents, though the specific conditions required (such as authentication or configuration) are not stated in the available information.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:54:28Z"},"euvd":{"id":"EUVD-2022-6472","exploited":false,"provenance":"source"}}