CVE-2021-20202
publishedkeycloak: Temporary Directory Hijacking Vulnerability in Keycloak
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | keycloakkeycloak 13.0.0 | Affected | Not stated | redhat |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | keycloak | keycloak 13.0.0 (affected) | redhat · cna |
Weaknesses
1- CWE-377
References
1Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0ad8001a6e7c2fa9cab94bf2ed8f6f75a3ccc64ba566412d9e3d6c8bbdec4134
- Ingested
- 23 Sep 2026, 07:52:16 UTC
- Source record
- Official CVE record