CVE-2021-20222: redhat keycloak Improper Input Validation
CVSS: 7.5v3.1HighModified
AliasesGHSA-2mq8-99q7-55wx
Published 23-03-2021Last modified 03-08-2024
Vulnerability summary
CVE-2021-20222 is a high (CVSS 7.5) Improper Input Validation vulnerability in redhat keycloak. EPSS estimates a 1.19% chance of exploitation in the next 30 days, higher than 67.4% of scored vulnerabilities.
CVSS score
7.5/10
010
High · v3.1 (NVD)EPSS score
1.19%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 23-03-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
A flaw was found in keycloak. The new account console in keycloak can allow malicious code to be executed using the referrer URL. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
CVSS metrics
3 scores · 2 sources · 2 versionsHigh 7.5Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HSources2 sources · 7.5–8.3
- OSV · MavenEcosystem advisory · calculated8.3HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:HDiffers
Medium 5.1Preferred score · NVD (NIST)
AV:N/AC:H/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
1.19%
Chance of exploitation in the next 30 days
Percentile
67%
Versus all other CVEs
30-day change
0.00 pp
From 1.19% on 19-09-2026
19-09-202619-10-2026
EPSS score1.19%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
- CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Affected systems
Org.keycloak1 product
- keycloak-parent≥ 9.0.0, < 12.0.3
Redhat1 product
- keycloak≥ 9.0.0, < 13.0.0
2 vendors · 2 products