high7.3
CVE-2021-20202
Temporary Directory Hijacking Vulnerability in Keycloak
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.keycloak:keycloak-core | < 13.0.0 | 13.0.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Redhat | Keycloak | before 13.0.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1922128
- https://github.com/advisories/GHSA-6xp6-fmc8-pmmr
- https://nvd.nist.gov/vuln/detail/CVE-2021-20202
- https://issues.redhat.com/browse/KEYCLOAK-17000
- https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-7gf3-89f6-823j