Skip to content

Keycloak vulnerable to infinite loop based Denial of Service

High severity GitHub Reviewed Published Oct 18, 2018 to the GitHub Advisory Database • Updated Jan 8, 2023

Package

maven org.keycloak:keycloak-core (Maven)

Affected versions

< 2.5.5

Patched versions

2.5.5

Description

When Keycloak versions prior to 2.5.5 receive a Logout request with an Extensions in the middle of the request, the SAMLSloRequestParser.parse() method ends in an infinite loop. An attacker could use this flaw to conduct denial of service attacks.

References

Published to the GitHub Advisory Database Oct 18, 2018
Reviewed Jun 16, 2020
Last updated Jan 8, 2023

Severity

High
7.5
/ 10

CVSS base metrics

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

Weaknesses

CVE ID

CVE-2017-2646

GHSA ID

GHSA-jc6q-27mw-p55w

Source code

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