GitHub Advisoryadvisory · Maven

GHSA-3w4v-rvc4-2xpw Keycloak has Files or Directories Accessible to External Parties

MEDIUM Published 2022-08-27 Modified 2022-09-02 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

Weakness · CWE (2)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
  • CWE-552 Files or Directories Accessible to External Parties weakness

References