Skip to content
OpenAdvisories
High · 7.2 CVE-2022-2668 EUVD-2022-6962GHSA-wf7g-7h6h-678v

Keycloak SAML javascript protocol mapper: Uploading of scripts through admin console

Published Aug 5, 2022 · Updated Aug 3, 2024 · Assigned by redhat

Description

An issue was discovered in Keycloak that allows arbitrary Javascript to be uploaded for the SAML protocol mapper even if the UPLOAD_SCRIPTS feature is disabled

Affected products

VendorProductAffectedFixed
— keycloak Keycloak 18 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Single Sign On 7 rh-sso7 +1 1-5.el9sso RHSA-2022:7411
Red Hat Single Sign On 7 rh-sso7-javapackages-tools +2 6.0.0-7.el9sso RHSA-2022:7411
Red Hat Single Sign On 7 rh-sso7-keycloak +1 15.0.8-1.redhat_00001.1.el7sso RHSA-2022:7411, RHSA-2022:7410, RHSA-2022:7409

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.keycloak:keycloak-parent < 19.0.2 19.0.2 GHSA-wf7g-7h6h-678v

Advisories 5

References