GitHub Advisoryadvisory · Maven
GHSA-3w4v-rvc4-2xpw Keycloak has Files or Directories Accessible to External Parties
MEDIUM
Official page ↗
- Aliases
- CVE-2021-3856
- Ecosystem
- Maven
- Packages
- org.keycloak:keycloak-core
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-22, CWE-552
- Reviewed
- 2022-09-02
Affected packages
• Maven org.keycloak:keycloak-core: < 15.1.0 → fixed in 15.1.0
Description
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.
Related
Alias · CVE (1)
- CVE-2021-3856 ClassLoaderTheme and ClasspathThemeResourceProviderFactory allows reading any file available as a resource to the classloader. vulnerability
References
- 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