{"id":"CVE-2020-1758","aliases":["CVE-2020-1758","GHSA-c597-f74m-jgc2"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Certificate Validation and Improper Validation of Certificate with Host Mismatch in Keycloak","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se encontró un fallo en Keycloak en versiones anteriores a 10.0.0, donde no se lleva a cabo una verificación del nombre de host TLS mientras se envía correos electrónicos utilizando el servidor SMTP. Este fallo permite a un atacante llevar a cabo un ataque de tipo man-in-the-middle (MITM).","source":"nvd"}],"published":"2020-05-15T18:52:52.000Z","modified":"2026-06-17T03:02:20.680Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-295","CWE-297"],"affected":[{"ranges":[{"version":"keycloak versions before 10.0.0","status":"affected"}],"vendor":"Red Hat","product":"keycloak","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"10.0.0"}],"ecosystem":"Maven","package":"org.keycloak:keycloak-parent","purl":"pkg:maven/org.keycloak/keycloak-parent","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"10.0.0"}],"vendor":"redhat","product":"keycloak","cpe":"cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10"}],"vendor":"redhat","product":"openstack","cpe":"cpe:2.3:a:redhat:openstack:10:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1758","tags":["issue-tracking","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://issues.redhat.com/browse/KEYCLOAK-13285","tags":["permissions-required","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1758","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-1758","url":"https://www.cve.org/CVERecord?id=CVE-2020-1758","licence":"CVE Terms of Use","modified":"2024-08-04T06:46:30.910Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c597-f74m-jgc2","url":"https://github.com/advisories/GHSA-c597-f74m-jgc2","licence":"CC-BY-4.0","modified":"2023-11-08T04:02:43.494Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-1758","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1758","licence":"Public domain","modified":"2026-06-17T03:02:20.680Z"}],"updatedAt":"2026-11-25T22:57:52.443Z","epss":{"score":0.01092,"percentile":0.66384,"date":"2026-12-01T12:00:22.000Z"}}