Improper Validation of Certificate with Host Mismatch Affecting rh-sso7-keycloak-server package, versions <0:4.8.20-1.Final_redhat_00001.1.el7sso


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.13% (49th 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-RHSSO7KEYCLOAKSERVER-4459058
  • published26 Mar 2023
  • disclosed12 May 2020

Introduced: 12 May 2020

CVE-2020-1758  (opens in a new tab)
CWE-297  (opens in a new tab)

How to fix?

Upgrade RHEL:7 rh-sso7-keycloak-server to version 0:4.8.20-1.Final_redhat_00001.1.el7sso or higher.
This issue was patched in RHSA-2020:2107.

NVD Description

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

A flaw was found in Keycloak in versions before 10.0.0, where it does not perform the TLS hostname verification while sending emails using the SMTP server. This flaw allows an attacker to perform a man-in-the-middle (MITM) attack.

CVSS Scores

version 3.1