{"id":"CVE-2021-20222","aliases":["GHSA-2mq8-99q7-55wx"],"summary":"A flaw was found in keycloak.","published_at":"2021-02-16T00:00:00Z","modified_at":"2024-08-03T17:30:07.597Z","products":[{"slug":"keycloak","name":"Keycloak","category":"identity"}],"rating":{"severity":"high","score":8.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","attack_path":"internet_unauthenticated","user_interaction":true,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.011900000274181366,"percentile":0.6861699819564819,"date":"2026-11-19T00:00:00Z"},"priority":9.8,"record_count":4,"vendors":["Red Hat","GitHub"],"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.","affected_stack":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-parent","purl":"pkg:maven/org.keycloak/keycloak-parent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.0.0"},{"fixed":"12.0.3"}]}],"versions":["10.0.0","10.0.1","10.0.2","11.0.0","11.0.1","11.0.2","11.0.3","12.0.0","12.0.1","12.0.2","9.0.0","9.0.2","9.0.3"],"fixed":["12.0.3"],"provider":"osv","source":"GHSA-2mq8-99q7-55wx","relation":"self"},{"ecosystem":"NVD","package":"redhat:keycloak","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.0.0"},{"fixed":"13.0.0"}]}],"fixed":["13.0.0"],"provider":"nvd","source":"CVE-2021-20222","relation":"self"}],"affected_other":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Decision Manager 7","cpe":"cpe:/a:redhat:jboss_enterprise_brms_platform:7","status":"not_affected","packages":["keycloak"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-20222"},{"vendor":"Red Hat","product":"Red Hat Fuse 7","cpe":"cpe:/a:redhat:jboss_fuse:7","status":"not_affected","packages":["keycloak"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-20222"},{"vendor":"Red Hat","product":"Red Hat Integration Camel K 1","cpe":"cpe:/a:redhat:camel_k:1","status":"not_affected","packages":["keycloak"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-20222"},{"vendor":"Red Hat","product":"Red Hat OpenShift Application Runtimes","cpe":"cpe:/a:redhat:openshift_application_runtimes:1.0","status":"not_affected","packages":["keycloak"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-20222"},{"vendor":"Red Hat","product":"Red Hat Process Automation 7","cpe":"cpe:/a:redhat:jboss_bpms:7","status":"not_affected","packages":["keycloak"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-20222"},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","cpe":"cpe:/a:redhat:red_hat_single_sign_on:7","status":"not_affected","packages":["rh-sso7-keycloak"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-20222"},{"vendor":"Red Hat","product":"Red Hat support for Spring Boot","cpe":"cpe:/a:redhat:support_for_springboot:2","status":"not_affected","packages":["keycloak"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-20222"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2021-20222","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2021-20222","license":"CC-BY-4.0","published_at":"2021-03-23T16:36:39Z","modified_at":"2024-08-03T17:30:07.597Z","summary":"A flaw was found in keycloak.","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.","severity":[],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1924606"}]},{"provider":"nvd","source_id":"CVE-2021-20222","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20222","severity":[],"affected":[{"ecosystem":"NVD","package":"redhat:keycloak","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.0.0"},{"fixed":"13.0.0"}]}],"fixed":["13.0.0"],"provider":"nvd","source":"CVE-2021-20222","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-2mq8-99q7-55wx","relation":"self","url":"https://osv.dev/vulnerability/GHSA-2mq8-99q7-55wx","license":"CC-BY-4.0","published_at":"2021-05-13T22:29:51Z","modified_at":"2023-11-08T04:04:35.830362Z","summary":"Code injection in keycloak","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","source":"GHSA-2mq8-99q7-55wx"}],"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-parent","purl":"pkg:maven/org.keycloak/keycloak-parent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.0.0"},{"fixed":"12.0.3"}]}],"versions":["10.0.0","10.0.1","10.0.2","11.0.0","11.0.1","11.0.2","11.0.3","12.0.0","12.0.1","12.0.2","9.0.0","9.0.2","9.0.3"],"fixed":["12.0.3"],"provider":"osv","source":"GHSA-2mq8-99q7-55wx","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20222"},{"type":"WEB","url":"https://github.com/keycloak/keycloak/commit/3b80eee5bfdf2b80c47465c0f2eaf70074808741"},{"type":"WEB","url":"https://access.redhat.com/security/cve/cve-2021-20222"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1924606"}]},{"provider":"redhat-vex","source_id":"CVE-2021-20222","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2021-20222","license":"CC-BY-4.0","published_at":"2021-02-16T00:00:00Z","modified_at":"2023-09-25T05:48:10Z","summary":"keycloak: reflected XSS attack with referrer in new account console","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","source":"CVE-2021-20222"},{"type":"Red Hat","score":"Important","source":"CVE-2021-20222"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Decision Manager 7","cpe":"cpe:/a:redhat:jboss_enterprise_brms_platform:7","status":"not_affected","packages":["keycloak"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-20222"},{"vendor":"Red Hat","product":"Red Hat Fuse 7","cpe":"cpe:/a:redhat:jboss_fuse:7","status":"not_affected","packages":["keycloak"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-20222"},{"vendor":"Red Hat","product":"Red Hat Integration Camel K 1","cpe":"cpe:/a:redhat:camel_k:1","status":"not_affected","packages":["keycloak"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-20222"},{"vendor":"Red Hat","product":"Red Hat OpenShift Application Runtimes","cpe":"cpe:/a:redhat:openshift_application_runtimes:1.0","status":"not_affected","packages":["keycloak"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-20222"},{"vendor":"Red Hat","product":"Red Hat Process Automation 7","cpe":"cpe:/a:redhat:jboss_bpms:7","status":"not_affected","packages":["keycloak"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-20222"},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","cpe":"cpe:/a:redhat:red_hat_single_sign_on:7","status":"not_affected","packages":["rh-sso7-keycloak"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-20222"},{"vendor":"Red Hat","product":"Red Hat support for Spring Boot","cpe":"cpe:/a:redhat:support_for_springboot:2","status":"not_affected","packages":["keycloak"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-20222"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-20222.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-20222"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1924606"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-20222"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20222"}]}],"references":[{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1924606"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20222"},{"type":"WEB","url":"https://github.com/keycloak/keycloak/commit/3b80eee5bfdf2b80c47465c0f2eaf70074808741"},{"type":"WEB","url":"https://access.redhat.com/security/cve/cve-2021-20222"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-20222.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-20222"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-20222"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2021-20222","url":"https://www.cve.org/CVERecord?id=CVE-2021-20222","license":"CC-BY-4.0","modified_at":"2024-08-03T17:30:07.597Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2021-20222","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20222","relation":"self"},{"provider":"osv","source_id":"GHSA-2mq8-99q7-55wx","url":"https://osv.dev/vulnerability/GHSA-2mq8-99q7-55wx","license":"CC-BY-4.0","modified_at":"2023-11-08T04:04:35.830362Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2021-20222","url":"https://access.redhat.com/security/cve/CVE-2021-20222","license":"CC-BY-4.0","modified_at":"2023-09-25T05:48:10Z","relation":"self"}]}
