Search for vulnerabilities
Vulnerability details: VCID-b6mp-jcq2-uqbv
Vulnerability ID VCID-b6mp-jcq2-uqbv
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
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
cvssv2 4.6 https://nvd.nist.gov/vuln/detail/CVE-2021-20202
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: AV:L/AC:L/Au:N/C:P/I:P/A:P Found at https://nvd.nist.gov/vuln/detail/CVE-2021-20202
Exploitability (E) Access Vector (AV) Access Complexity (AC) Authentication (Au) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

high

functional

unproven

proof_of_concept

not_defined

local

adjacent_network

network

high

medium

low

multiple

single

none

none

partial

complete

none

partial

complete

none

partial

complete

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.13731
EPSS Score 0.00046
Published At July 30, 2025, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2025-07-31T09:03:50.191910+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 37.0.0