Cleartext Storage of Sensitive Information in a Cookie Affecting org.keycloak:keycloak-services package, versions [7.0.0,24.0.5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cleartext Storage of Sensitive Information in a Cookie vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGKEYCLOAK-7213819
  • published5 Jun 2024
  • disclosed3 Jun 2024
  • creditUnknown

Introduced: 3 Jun 2024

CVE-2024-4540  (opens in a new tab)
CWE-315  (opens in a new tab)

How to fix?

Upgrade org.keycloak:keycloak-services to version 24.0.5 or higher.

Overview

org.keycloak:keycloak-services is an open source identity and access management solution for modern applications and services.

Affected versions of this package are vulnerable to Cleartext Storage of Sensitive Information in a Cookie in the OAuth 2.0 Pushed Authorization Requests (PAR) through the KC_RESTART cookie. An attacker can access sensitive client-provided parameters by intercepting HTTP responses from the authorization server.

CVSS Scores

version 3.1