Directory Traversal Affecting rh-sso7-keycloak package, versions <0:18.0.0-2.redhat_00001.1.el7sso


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.12% (64th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-RHSSO7KEYCLOAK-5821273
  • published26 Mar 2023
  • disclosed4 Oct 2021

Introduced: 4 Oct 2021

CVE-2021-3856  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade RHEL:7 rh-sso7-keycloak to version 0:18.0.0-2.redhat_00001.1.el7sso or higher.
This issue was patched in RHBA-2022:5452.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rh-sso7-keycloak package and not the rh-sso7-keycloak package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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 Base Scores

version 3.1