Arbitrary Code Execution Affecting org.keycloak:keycloak-saml-core package, versions [,19.0.2)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.09% (39th 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 Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGKEYCLOAK-2987457
  • published19 Aug 2022
  • disclosed6 Aug 2022
  • creditUnknown

Introduced: 6 Aug 2022

CVE-2022-2668  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade org.keycloak:keycloak-saml-core to version 19.0.2 or higher.

Overview

org.keycloak:keycloak-saml-core is an Identity and Access Management plugin for Keycloak.

Affected versions of this package are vulnerable to Arbitrary Code Execution. It allows arbitrary Javascript to be uploaded for SAML protocol mapper even if UPLOAD_SCRIPTS feature disabled. 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.

CVSS Scores

version 3.1