Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.keycloak/keycloak-parent
  4. ›
  5. CVE-2020-14366

CVE-2020-14366: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

February 9, 2022

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

References

  • bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14366
  • github.com/advisories/GHSA-cp67-8w3w-6h9c
  • nvd.nist.gov/vuln/detail/CVE-2020-14366

Code Behaviors & Features

Detect and mitigate CVE-2020-14366 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 12.0.0

Fixed versions

  • 12.0.0

Solution

Upgrade to version 12.0.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

maven/org.keycloak/keycloak-parent/CVE-2020-14366.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:30 +0000.