CVE-2021-20202
mediumpriority · track · 29EPSS 0.003 · 22 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4.6–7.3
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-6xp6-fmc8-pmmrTemporary Directory Hijacking Vulnerability in Keycloak2022-03-18ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (5)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2021-20202cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=1922128cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2021052529cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=1922128enisa_euvd
- https://bugzilla.redhat.com/show_bug.cgi?id=1922128Issue TrackingVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan