Creation of Temporary File With Insecure Permissions Affecting cn.hutool:hutool-core package, versions [,5.8.19)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.04% (11th 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-CNHUTOOL-5707016
  • published14 Jun 2023
  • disclosed14 Jun 2023
  • creditAlex111998

Introduced: 14 Jun 2023

CVE-2023-33695  (opens in a new tab)
CWE-378  (opens in a new tab)

How to fix?

Upgrade cn.hutool:hutool-core to version 5.8.19 or higher.

Overview

Affected versions of this package are vulnerable to Creation of Temporary File With Insecure Permissions in its use of the File.createTempFile() function in FileUtil.java, which does not sufficiently restrict permissions.

CVSS Scores

version 3.1