Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.keycloak/keycloak-services
  4. ›
  5. CVE-2021-3856

CVE-2021-3856: Files or Directories Accessible to External Parties

August 26, 2022 (updated July 10, 2023)

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.

References

  • access.redhat.com/security/cve/CVE-2021-3856
  • bugzilla.redhat.com/show_bug.cgi?id=2010164
  • github.com/keycloak/keycloak/commit/73f0474008e1bebd0733e62a22aceda9e5de6743
  • github.com/keycloak/keycloak/pull/8588
  • issues.redhat.com/browse/KEYCLOAK-19422
  • nvd.nist.gov/vuln/detail/CVE-2021-3856

Code Behaviors & Features

Detect and mitigate CVE-2021-3856 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 15.1.0

Fixed versions

  • 15.1.0

Solution

Upgrade to version 15.1.0 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

maven/org.keycloak/keycloak-services/CVE-2021-3856.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:45 +0000.