Directory Traversal Affecting rh-sso7-keycloak package, versions <0:18.0.3-1.redhat_00002.1.el7sso


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
5.8% (93rd 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-4457014
  • published26 Mar 2023
  • disclosed12 Dec 2022

Introduced: 12 Dec 2022

CVE-2022-3782  (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.3-1.redhat_00002.1.el7sso or higher.
This issue was patched in RHSA-2022:8961.

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.

keycloak: path traversal via double URL encoding. A flaw was found in Keycloak, where it does not properly validate URLs included in a redirect. An attacker can use this flaw to construct a malicious request to bypass validation and access other URLs and potentially sensitive information within the domain or possibly conduct further attacks. This flaw affects any client that utilizes a wildcard in the Valid Redirect URIs field.

CVSS Base Scores

version 3.1