CVE-2021-3856
MEDIUM4.3EPSS 0.36%Keycloak has Files or Directories Accessible to External Parties
Published: 8/27/2022Modified: 2/16/2024
Also known as:GHSA-3w4v-rvc4-2xpw
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.
Affected packages (1)
- Maven/org.keycloak:keycloak-corefrom 0, < 15.1.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-3856
- PATCHhttps://github.com/keycloak/keycloak
- WEBhttps://access.redhat.com/security/cve/CVE-2021-3856
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=2010164
- WEBhttps://github.com/keycloak/keycloak/commit/73f0474008e1bebd0733e62a22aceda9e5de6743
- WEBhttps://github.com/keycloak/keycloak/pull/8588
- WEBhttps://issues.redhat.com/browse/KEYCLOAK-19422