CVE-2021-20202
JSON

7.3high

Temporary Directory Hijacking Vulnerability in Keycloak

Severity
7.3high CVSS:3.1 by NVD
Exploit likelihood
0.30% (higher than 24% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat
Also known as
GHSA-6xp6-fmc8-pmmr

Description

A flaw was found in keycloak. Directories can be created prior to the Java process creating them in the temporary directory, but with wider user permissions, allowing the attacker to have access to the contents that keycloak stores in this directory. The highest threat from this vulnerability is to data confidentiality and integrity.

Affected

Product or packageVersionsReported by
keycloakkeycloak 13.0.0CVE List
org.keycloak:keycloak-core (Maven)before 13.0.0GitHub Advisory Database
redhat keycloakbefore 13.0.0NVD

All scores

GitHub7.3high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
NVD7.3high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
NVD4.6medium CVSS:2.0AV:L/AC:L/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

A flaw was found in keycloak. Directories can be created prior to the Java process creating them in the temporary directory, but with wider user permissions, allowing the attacker to have access to the contents that keycloak stores in this directory. The highest threat from this vulnerability is to data confidentiality and integrity.

NVD (es)

Se ha encontrado un defecto en keycloak. Los Directorios pueden ser creados antes del proceso de Java que los crea en el directorio temporal, pero con permisos de usuario más amplios, permitiendo a un atacante tener acceso a los contenidos que keycloak almacena en este directorio. La mayor amenaza de esta vulnerabilidad es la confidencialidad e integridad de los datos

References

Sources

SourceRecordLicence
CVE ListCVE-2021-20202 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-6xp6-fmc8-pmmr changed 2023-11-08CC-BY-4.0
NVDCVE-2021-20202 changed 2026-06-17Public domain