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.
Published · last modified .
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.
EPSS exploit prediction
EPSS 0.012, 69.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Red Hat Keycloak
- Keycloak — versions Fixed in 15.1.0
Weakness classification (CWE)
References
- issues.redhat.com/browse/KEYCLOAK-19422 (Permissions Required, Vendor Advisory)
- github.com/keycloak/keycloak/pull/8588 (Patch, Third Party Advisory)
- github.com/keycloak/keycloak/commit/73f0474008e1bebd0733e62a22aceda9e5de6743 (Patch, Third Party Advisory)
- bugzilla.redhat.com/show_bug.cgi (Issue Tracking, Vendor Advisory)
- access.redhat.com/security/cve/CVE-2021-3856 (Vendor Advisory)