{"id":"CVE-2020-27838","published":"2021-03-08T21:41:27Z","modified":"2024-08-04T16:25:43Z","title":"A flaw was found in keycloak in versions prior to 13.0.0","vendor":null,"product":null,"tier":"tail","description":{"text":"A flaw was found in keycloak in versions prior to 13.0.0. The client registration endpoint allows fetching information about PUBLIC clients (like client secret) without authentication which could be an issue if the same PUBLIC client changed to CONFIDENTIAL later. The highest threat from this vulnerability is to data confidentiality.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.17866,"percentile":0.97244,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1906797","tags":["x_refsource_MISC"]}],"priority":{"score":24.4,"factors":[{"name":"EPSS percentile","points":19.45},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2024-05-14","earliestUrl":"https://github.com/Cappricio-Securities/CVE-2020-27838","repos":[{"name":"Cappricio-Securities/CVE-2020-27838","url":"https://github.com/Cappricio-Securities/CVE-2020-27838","stars":3,"created":"2024-05-14"}]},"nuclei":[{"id":"CVE-2020-27838","name":"KeyCloak - Information Exposure","severity":"medium","path":"http/cves/2020/CVE-2020-27838.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2020/CVE-2020-27838.yaml"}],"first":{"date":"2024-05-14","source":"PoC-in-GitHub","url":"https://github.com/Cappricio-Securities/CVE-2020-27838"},"provenance":"source"},"affectedVersions":[{"vendor":"n/a","product":"keycloak","versions":["keycloak 13.0.0"]}],"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-core","vulnerableRanges":["<13.0.0"],"patched":["13.0.0"],"from":["GHSA-pcv5-m2wh-66j3"],"provenance":"source"}],"summary":{"text":"A flaw in Keycloak (versions prior to 13.0.0) lies in the client registration endpoint, which exposes information about PUBLIC clients, including client secrets, without requiring authentication. An unauthenticated attacker with network access to that endpoint could retrieve this data, which becomes a concern if a PUBLIC client was later changed to CONFIDENTIAL, with the main impact on data confidentiality.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:45:17Z"},"euvd":{"id":"EUVD-2022-4746","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-red-hat-build-of-keycloak-26-0-cve-2020-10776","parents":[{"from":"CVE-2020-10776","to":"CVE-2020-27838","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server-spi-private/src/main/java/org/keycloak/models/utils/RepresentationToModel.java","services/src/main/java/org/keycloak/services/clientregistration/AbstractClientRegistrationProvider.java"],"commits":["https://github.com/keycloak/keycloak/commit/01be601dbdd77822827de173e34180d9322db85c","https://github.com/keycloak/keycloak/commit/9356843c6c3d7097d010b3bb6f91e25fcaba378c"],"basis":"shared function","functions":["create"]}]}],"children":[{"from":"CVE-2020-27838","to":"CVE-2024-11734","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["services/src/main/java/org/keycloak/services/managers/RealmManager.java"],"commits":["https://github.com/keycloak/keycloak/commit/9356843c6c3d7097d010b3bb6f91e25fcaba378c","https://github.com/keycloak/keycloak/commit/93b2a7327b2557eb132a8169086c5e63c81dff79"],"basis":"rarely changed file"}]}]}}