Skip to content
OpenAdvisories
High · 7.5 CVE-2020-1714 EUVD-2022-1095GHSA-m6mm-q862-j366

Improper Input Validation in Keycloak

Published May 13, 2020 · Updated Aug 4, 2024 · Assigned by redhat

Description

A flaw was found in Keycloak before version 11.0.0, where the code base contains usages of ObjectInputStream without type checks. This flaw allows an attacker to inject arbitrarily serialized Java Objects, which would then get deserialized in a privileged context and potentially lead to remote code execution.

Affected products

VendorProductAffectedFixed
Red Hat keycloak before 11.0.0 —

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 JBoss EAP 7 eap7-keycloak-adapter-sso7_4 +1 9.0.4-1.redhat_00001.1.el6eap RHSA-2020:2814
Red Hat JBoss EAP 6 keycloak-adapter-sso7_4-eap6 +1 9.0.4-1.redhat_00001.1.ep6.el6 RHSA-2020:2816

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.keycloak:keycloak-common < 11.0.0 11.0.0 GHSA-m6mm-q862-j366
Maven org.keycloak:keycloak-core < 11.0.0 11.0.0 GHSA-m6mm-q862-j366

Advisories 2

References