Staging Environment: Content and features may be unstable or change without notice.
Search for vulnerabilities
Vulnerability details: VCID-e9qa-sy57-fqby
Vulnerability ID VCID-e9qa-sy57-fqby
Aliases CVE-2021-20202
GHSA-6xp6-fmc8-pmmr
Summary Temporary Directory Hijacking Vulnerability in Keycloak 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.
Status Published
Exploitability 0.5
Weighted Severity 8.0
Risk 4.0
Affected and Fixed Packages Package Details
Weaknesses (3)
System Score Found at
cvssv3 6.5 https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-20202.json
epss 0.00046 https://api.first.org/data/v1/epss?cve=CVE-2021-20202
epss 0.00046 https://api.first.org/data/v1/epss?cve=CVE-2021-20202
epss 0.00046 https://api.first.org/data/v1/epss?cve=CVE-2021-20202
epss 0.00046 https://api.first.org/data/v1/epss?cve=CVE-2021-20202
epss 0.00046 https://api.first.org/data/v1/epss?cve=CVE-2021-20202
epss 0.00046 https://api.first.org/data/v1/epss?cve=CVE-2021-20202
epss 0.00046 https://api.first.org/data/v1/epss?cve=CVE-2021-20202
epss 0.00046 https://api.first.org/data/v1/epss?cve=CVE-2021-20202
epss 0.00046 https://api.first.org/data/v1/epss?cve=CVE-2021-20202
epss 0.00046 https://api.first.org/data/v1/epss?cve=CVE-2021-20202
epss 0.00046 https://api.first.org/data/v1/epss?cve=CVE-2021-20202
epss 0.00046 https://api.first.org/data/v1/epss?cve=CVE-2021-20202
epss 0.00046 https://api.first.org/data/v1/epss?cve=CVE-2021-20202
epss 0.00046 https://api.first.org/data/v1/epss?cve=CVE-2021-20202
epss 0.00046 https://api.first.org/data/v1/epss?cve=CVE-2021-20202
cvssv3.1 7.3 https://bugzilla.redhat.com/show_bug.cgi?id=1922128
generic_textual HIGH https://bugzilla.redhat.com/show_bug.cgi?id=1922128
cvssv3.1_qr HIGH https://github.com/advisories/GHSA-6xp6-fmc8-pmmr
cvssv3.1 7.3 https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-7gf3-89f6-823j
generic_textual HIGH https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-7gf3-89f6-823j
cvssv3.1 7.3 https://issues.redhat.com/browse/KEYCLOAK-17000
generic_textual HIGH https://issues.redhat.com/browse/KEYCLOAK-17000
cvssv3.1 7.3 https://nvd.nist.gov/vuln/detail/CVE-2021-20202
generic_textual HIGH https://nvd.nist.gov/vuln/detail/CVE-2021-20202
archlinux High https://security.archlinux.org/AVG-1926
No exploits are available.
Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L Found at https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-20202.json
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L Found at https://bugzilla.redhat.com/show_bug.cgi?id=1922128
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L Found at https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-7gf3-89f6-823j
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L Found at https://issues.redhat.com/browse/KEYCLOAK-17000
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L Found at https://nvd.nist.gov/vuln/detail/CVE-2021-20202
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.14047
EPSS Score 0.00046
Published At April 1, 2026, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2026-04-01T13:06:51.368163+00:00 GithubOSV Importer Import https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-6xp6-fmc8-pmmr/GHSA-6xp6-fmc8-pmmr.json 38.0.0