Path Traversal in Red Hat Keycloak

CVE-2021-3856

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.

EPSS: 0.009 (55.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-3856?
CVE-2021-3856 is a medium-severity vulnerability in Red Hat Keycloak, classified under Files or Directories Accessible to External Parties. CVSS score: 4.3/10. Published 2022-08-26.
How severe is CVE-2021-3856?
Medium severity. CVSS v3 base score is 4.3 out of 10.