Skip to content

Improper Input Validation in Keycloak

High severity GitHub Reviewed Published Feb 9, 2022 to the GitHub Advisory Database • Updated Sep 25, 2023

Package

maven org.keycloak:keycloak-common (Maven)

Affected versions

< 11.0.0

Patched versions

11.0.0
maven org.keycloak:keycloak-core (Maven)
< 11.0.0
11.0.0

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.

References

Published by the National Vulnerability Database May 13, 2020
Reviewed Apr 1, 2021
Published to the GitHub Advisory Database Feb 9, 2022
Last updated Sep 25, 2023

Severity

High
8.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2020-1714

GHSA ID

GHSA-m6mm-q862-j366

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.