CVE-2020-1758
MEDIUM 5.9CVSS 3.1Improper Certificate Validation and Improper Validation of Certificate with Host Mismatch in Keycloak
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.
- Published
- 15 May 2020
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-295CWE-297
- Also known as
- GHSA-c597-f74m-jgc2
- Sources
- NVDJSONOSV GHSA-c597-f74m-jgc2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | keycloakcpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:* |
< 10.0.0 | 10.0.0 |
| NVD | redhat | openstackcpe:2.3:a:redhat:openstack:10:*:*:*:*:*:*:* |
= 10 | |
| OSV | Maven | org.keycloak:keycloak-parent | < 10.0.0 | 10.0.0 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1758 · Issue Tracking, Vendor Advisory, WEB
- https://issues.redhat.com/browse/KEYCLOAK-13285 · Permissions Required, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-1758 · ADVISORY
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 15 May 2020)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 Feb 2022)