GSD-2021-20222
Vulnerability from gsd - Updated: 2023-12-13 01:23Details
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.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2021-20222",
"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.",
"id": "GSD-2021-20222",
"references": [
"https://security.archlinux.org/CVE-2021-20222"
]
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2021-20222"
],
"details": "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.",
"id": "GSD-2021-20222",
"modified": "2023-12-13T01:23:12.421740Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "secalert@redhat.com",
"ID": "CVE-2021-20222",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "keycloak",
"version": {
"version_data": [
{
"version_value": "keycloak 13.0.0"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "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."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-20"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://bugzilla.redhat.com/show_bug.cgi?id=1924606",
"refsource": "MISC",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1924606"
}
]
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "[9.0.0,13.0.0)",
"affected_versions": "All versions starting from 9.0.0 before 13.0.0",
"cvss_v2": "AV:N/AC:H/Au:N/C:P/I:P/A:P",
"cvss_v3": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-79",
"CWE-937"
],
"date": "2022-10-21",
"description": "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.",
"fixed_versions": [
"13.0.0"
],
"identifier": "CVE-2021-20222",
"identifiers": [
"CVE-2021-20222"
],
"not_impacted": "All versions before 9.0.0, all versions starting from 13.0.0",
"package_slug": "maven/org.keycloak/keycloak-core",
"pubdate": "2021-03-23",
"solution": "Upgrade to version 13.0.0 or above.",
"title": "Improper Input Validation",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-20222",
"https://bugzilla.redhat.com/show_bug.cgi?id=1924606"
],
"uuid": "4de4c2d7-4bf7-4d75-b9f5-d67f3d899eda"
},
{
"affected_range": "[9.0.0,13.0.0)",
"affected_versions": "All versions starting from 9.0.0 before 13.0.0",
"cvss_v2": "AV:N/AC:H/Au:N/C:P/I:P/A:P",
"cvss_v3": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-79",
"CWE-937"
],
"date": "2022-10-21",
"description": "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.",
"fixed_versions": [
"13.0.0"
],
"identifier": "CVE-2021-20222",
"identifiers": [
"CVE-2021-20222"
],
"not_impacted": "All versions before 9.0.0, all versions starting from 13.0.0",
"package_slug": "maven/org.keycloak/keycloak-model-jpa",
"pubdate": "2021-03-23",
"solution": "Upgrade to version 13.0.0 or above.",
"title": "Improper Input Validation",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-20222",
"https://bugzilla.redhat.com/show_bug.cgi?id=1924606"
],
"uuid": "2091e6e6-3586-4b12-9224-be7fc1fb36cd"
},
{
"affected_range": "[9.0.0,13.0.0)",
"affected_versions": "All versions starting from 9.0.0 before 13.0.0",
"cvss_v2": "AV:N/AC:H/Au:N/C:P/I:P/A:P",
"cvss_v3": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-79",
"CWE-937"
],
"date": "2022-10-21",
"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.",
"fixed_versions": [
"13.0.0"
],
"identifier": "CVE-2021-20222",
"identifiers": [
"CVE-2021-20222",
"GHSA-2mq8-99q7-55wx"
],
"not_impacted": "",
"package_slug": "maven/org.keycloak/keycloak-parent",
"pubdate": "2021-03-23",
"solution": "Upgrade to version 13.0.0 or above.",
"title": "Improper Input Validation",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-20222",
"https://github.com/keycloak/keycloak/commit/3b80eee5bfdf2b80c47465c0f2eaf70074808741",
"https://access.redhat.com/security/cve/cve-2021-20222",
"https://github.com/advisories/GHSA-2mq8-99q7-55wx"
],
"uuid": "d875937c-e819-40d6-ab14-9346932f9b7a"
},
{
"affected_range": "[9.0.0,13.0.0)",
"affected_versions": "All versions starting from 9.0.0 before 13.0.0",
"cvss_v2": "AV:N/AC:H/Au:N/C:P/I:P/A:P",
"cvss_v3": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-79",
"CWE-937"
],
"date": "2022-10-21",
"description": "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.",
"fixed_versions": [
"13.0.0"
],
"identifier": "CVE-2021-20222",
"identifiers": [
"CVE-2021-20222"
],
"not_impacted": "",
"package_slug": "maven/org.keycloak/keycloak-server-spi-private",
"pubdate": "2021-03-23",
"solution": "Upgrade to version 13.0.0 or above.",
"title": "Improper Input Validation",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-20222",
"https://bugzilla.redhat.com/show_bug.cgi?id=1924606"
],
"uuid": "74cc0776-40c8-4aa8-aa1b-ef67a3494b35"
},
{
"affected_range": "[9.0.0,13.0.0)",
"affected_versions": "All versions starting from 9.0.0 before 13.0.0",
"cvss_v2": "AV:N/AC:H/Au:N/C:P/I:P/A:P",
"cvss_v3": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-79",
"CWE-937"
],
"date": "2022-10-21",
"description": "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.",
"fixed_versions": [
"13.0.0"
],
"identifier": "CVE-2021-20222",
"identifiers": [
"CVE-2021-20222"
],
"not_impacted": "All versions before 9.0.0, all versions starting from 13.0.0",
"package_slug": "maven/org.keycloak/keycloak-services",
"pubdate": "2021-03-23",
"solution": "Upgrade to version 13.0.0 or above.",
"title": "Improper Input Validation",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-20222",
"https://bugzilla.redhat.com/show_bug.cgi?id=1924606"
],
"uuid": "9dbe37d2-0a48-414f-8ab3-eb1250624d04"
},
{
"affected_range": "[9.0.0,13.0.0)",
"affected_versions": "All versions starting from 9.0.0 before 13.0.0",
"cvss_v2": "AV:N/AC:H/Au:N/C:P/I:P/A:P",
"cvss_v3": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-79",
"CWE-937"
],
"date": "2022-10-21",
"description": "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.",
"fixed_versions": [
"13.0.0"
],
"identifier": "CVE-2021-20222",
"identifiers": [
"CVE-2021-20222"
],
"not_impacted": "All versions before 9.0.0, all versions starting from 13.0.0",
"package_slug": "maven/org.keycloak/keycloak-wildfly-server-subsystem",
"pubdate": "2021-03-23",
"solution": "Upgrade to version 13.0.0 or above.",
"title": "Improper Input Validation",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-20222",
"https://bugzilla.redhat.com/show_bug.cgi?id=1924606"
],
"uuid": "7af8d07b-ce67-456f-9a1b-d82cd124f9ee"
},
{
"affected_range": "\u003e=9.0.0 \u003c13.0.0",
"affected_versions": "All versions starting from 9.0.0 before 13.0.0",
"cvss_v2": "AV:N/AC:H/Au:N/C:P/I:P/A:P",
"cvss_v3": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-79",
"CWE-937"
],
"date": "2022-10-21",
"description": "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.",
"fixed_versions": [
"13.0.0"
],
"identifier": "CVE-2021-20222",
"identifiers": [
"CVE-2021-20222"
],
"not_impacted": "All versions before 9.0.0, all versions starting from 13.0.0",
"package_slug": "npm/keycloak-connect",
"pubdate": "2021-03-23",
"solution": "Upgrade to version 13.0.0 or above.",
"title": "Improper Input Validation",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-20222",
"https://bugzilla.redhat.com/show_bug.cgi?id=1924606"
],
"uuid": "3ee66926-e28a-491f-9991-a20df8b40ec1"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "13.0.0",
"versionStartIncluding": "9.0.0",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "secalert@redhat.com",
"ID": "CVE-2021-20222"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "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."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-79"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://bugzilla.redhat.com/show_bug.cgi?id=1924606",
"refsource": "MISC",
"tags": [
"Issue Tracking",
"Vendor Advisory"
],
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1924606"
}
]
}
},
"impact": {
"baseMetricV2": {
"acInsufInfo": false,
"cvssV2": {
"accessComplexity": "HIGH",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "PARTIAL",
"baseScore": 5.1,
"confidentialityImpact": "PARTIAL",
"integrityImpact": "PARTIAL",
"vectorString": "AV:N/AC:H/Au:N/C:P/I:P/A:P",
"version": "2.0"
},
"exploitabilityScore": 4.9,
"impactScore": 6.4,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"severity": "MEDIUM",
"userInteractionRequired": true
},
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 1.6,
"impactScore": 5.9
}
},
"lastModifiedDate": "2022-10-21T20:11Z",
"publishedDate": "2021-03-23T17:15Z"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…