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


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 Insecure Temporary File vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGKEYCLOAK-1303397
  • published11 Jun 2021
  • disclosed11 Jun 2021
  • creditJonathan Leitschuh

Introduced: 11 Jun 2021

CVE-2021-20202  (opens in a new tab)
CWE-377  (opens in a new tab)

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.

CVSS Scores

version 3.1