Creation of Temporary File With Insecure Permissions Affecting org.springframework.cloud:spring-cloud-contract-shade package, versions [,3.1.10)[4.0.0,4.0.5)[4.1.0,4.1.1)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.04% (6th 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 Creation of Temporary File With Insecure Permissions vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKCLOUD-6219987
  • published1 Feb 2024
  • disclosed30 Jan 2024
  • creditMichael Kimball

Introduced: 30 Jan 2024

CVE-2024-22236  (opens in a new tab)
CWE-378  (opens in a new tab)

How to fix?

Upgrade org.springframework.cloud:spring-cloud-contract-shade to version 3.1.10, 4.0.5, 4.1.1 or higher.

Overview

Affected versions of this package are vulnerable to Creation of Temporary File With Insecure Permissions during test execution due to the shaded com.google.guava:guava dependency.

Note: This vulnerability is a special case of the previously reported CVE-2020-8908.

CVSS Scores

version 3.1