Insecure Temporary File Affecting org.keycloak:keycloak-services package, versions [,13.0.0)


0.0
medium

Snyk CVSS

    Attack Complexity High

    Threat Intelligence

    EPSS 0.04% (12th percentile)
Expand this section
NVD
7.3 high
Expand this section
Red Hat
6.5 medium

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 ID SNYK-JAVA-ORGKEYCLOAK-1303397
  • published 11 Jun 2021
  • disclosed 11 Jun 2021
  • credit Jonathan Leitschuh

How to fix?

Upgrade org.keycloak:keycloak-services to version 13.0.0 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 Insecure Temporary File. A flaw was found in keycloak. Directories can be created prior to the Java process creating them in the temporary directory, but with wider user permissions, allowing the attacker to have access to the contents that keycloak stores in this directory. The highest threat from this vulnerability is to data confidentiality and integrity.