{"id":"CVE-2020-14366","published":"2020-11-09T16:50:08Z","modified":"2024-08-04T12:46:33Z","title":"A vulnerability was found in keycloak, where path traversal using URL-encoded path segments in the request is possible…","vendor":"Red Hat","product":"keycloak","tier":"tail","description":{"text":"A vulnerability was found in keycloak, where path traversal using URL-encoded path segments in the request is possible because the resources endpoint applies a transformation of the url path to the file path. Only few specific folder hierarchies can be exposed by this flaw","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01377,"percentile":0.72746,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14366","tags":["x_refsource_CONFIRM"]}],"priority":{"score":19.3,"factors":[{"name":"EPSS percentile","points":14.55},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"keycloak","versions":["before (excluding) 12.0.0"]}],"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-parent","vulnerableRanges":["<12.0.0"],"patched":["12.0.0"],"from":["GHSA-cp67-8w3w-6h9c"],"provenance":"source"}],"summary":{"text":"A path traversal flaw in Red Hat's Keycloak lies in the resources endpoint, which converts URL path segments into file paths without properly restricting them to the intended directory. An unauthenticated remote attacker, with no user interaction, can exploit it by sending requests containing URL-encoded path segments, but only a few specific folder hierarchies are exposed, and the attack is considered high in complexity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:40Z"},"euvd":{"id":"EUVD-2022-0964","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-1758","published":"2020-05-15","fixed":"10.0.0","kev":false},{"cve":"CVE-2020-10748","published":"2020-09-16","fixed":"10.0.2","kev":false},{"cve":"CVE-2020-10758","published":"2020-09-16","fixed":"11.0.1","kev":false},{"cve":"CVE-2020-14366","published":"2020-11-09","fixed":"12.0.0","kev":false},{"cve":"CVE-2021-20222","published":"2021-03-23","fixed":"12.0.3","kev":false,"link":{"from":"CVE-2020-14366","to":"CVE-2021-20222","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.keycloak:keycloak-parent","fromFixed":"12.0.0","toFixed":"12.0.3","daysApart":134}]}},{"cve":"CVE-2020-1725","published":"2021-01-28","fixed":"13.0.0","kev":false},{"cve":"CVE-2021-3513","published":"2022-08-22","fixed":"13.0.0","kev":false}],"package":"Maven:org.keycloak:keycloak-parent"}}