CVE-2021-3856: redhat keycloak
CVSS: 4.3v3.1MediumModified
AliasesGHSA-3w4v-rvc4-2xpw
Published 26-08-2022Last modified 03-08-2024
Vulnerability summary
CVE-2021-3856 is a medium (CVSS 4.3) vulnerability in redhat keycloak. EPSS estimates a 1.13% chance of exploitation in the next 30 days, higher than 65.9% of scored vulnerabilities.
CVSS score
4.3/10
010
Medium · v3.1 (NVD)EPSS score
1.13%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 2Timeline
- 26-08-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 versionMedium 4.3Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NSourcesAll 2 agree
- OSV · MavenEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
1.13%
Chance of exploitation in the next 30 days
Percentile
66%
Versus all other CVEs
30-day change
0.00 pp
From 1.13% on 19-09-2026
19-09-202619-10-2026
EPSS score1.13%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-552Files or Directories Accessible to External PartiesThe product makes files or directories accessible to unauthorized actors, even though they should not be.
- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Affected systems
Org.keycloak1 product
- keycloak-core< 15.1.0
Redhat1 product
- keycloak< 15.1.0
2 vendors · 2 products
References
7 links- github.com/keycloak/keycloak/commit/73f0474008e1bebd0733e62a22aceda9e5de6743X Refsource MISCWEBPatchThird Party Advisory
- github.com/keycloak/keycloakPACKAGE