Bug 1812514 (CVE-2020-1758)

Summary: CVE-2020-1758 keycloak: improper verification of certificate with host mismatch could result in information disclosure
Product: [Other] Security Response Reporter: Michael Kaplan <mkaplan>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aboyko, aileenc, avibelli, bgeorges, chazlett, cmoulliard, dbecker, dkreling, drieden, ggaughan, gmalinko, ikanello, janstey, jbalunas, jjoyce, jochrist, jpallich, jschluet, jwon, kbasil, krathod, lhh, lpeer, lthon, mburns, mszynkie, pdrozd, pgallagh, pjindal, rruss, sclewis, security-response-team, slinaber, sthorger
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: keycloak 10.0.0 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Keycloak, 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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-12 22:32:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1812517    

Description Michael Kaplan 2020-03-11 13:37:09 UTC
Keycloak does not perform TLS hostname verification when sending emails via an SMTP server which could result in information disclosure.

External Reference:

https://issues.redhat.com/browse/KEYCLOAK-13285

Comment 3 Paramvir jindal 2020-03-12 06:55:47 UTC
Mitigation:

Turn off all kinds of email notifications including password reset mails.

Comment 7 errata-xmlrpc 2020-05-12 16:39:47 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On 7.3 for RHEL 7

Via RHSA-2020:2107 https://access.redhat.com/errata/RHSA-2020:2107

Comment 8 errata-xmlrpc 2020-05-12 16:40:13 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On 7.3 for RHEL 6

Via RHSA-2020:2106 https://access.redhat.com/errata/RHSA-2020:2106

Comment 9 errata-xmlrpc 2020-05-12 16:40:28 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On 7.3 for RHEL 8

Via RHSA-2020:2108 https://access.redhat.com/errata/RHSA-2020:2108

Comment 10 errata-xmlrpc 2020-05-12 17:17:33 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign On 7.3.8

Via RHSA-2020:2112 https://access.redhat.com/errata/RHSA-2020:2112

Comment 11 Product Security DevOps Team 2020-05-12 22:32:08 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-1758

Comment 13 Paramvir jindal 2020-05-18 14:05:29 UTC
Acknowledgments:

Name: Peter Stöckli