Creation of Temporary File With Insecure Permissions Affecting org.jboss.resteasy:resteasy-core package, versions [0,4.7.8.Final)


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-ORGJBOSSRESTEASY-3338627
  • published1 Feb 2023
  • disclosed31 Jan 2023
  • creditUnknown

Introduced: 31 Jan 2023

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

How to fix?

Upgrade org.jboss.resteasy:resteasy-core to version 4.7.8.Final or higher.

Overview

org.jboss.resteasy:resteasy-core is a JBoss.org project aimed at providing productivity frameworks for developing client and server RESTful applications and services in Java.

Affected versions of this package are vulnerable to Creation of Temporary File With Insecure Permissions such that the insecure File.createTempFile() which is used in the DataSourceProvider, FileProvider and Mime4JWorkaround classes creates temp files with insecure permissions that could be read by a local user.

CVSS Scores

version 3.1