Creation of Temporary File With Insecure Permissions Affecting resteasy package, versions <3.0.6-3ubuntu0.1~esm1


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.26% (19th 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 IDSNYK-UBUNTU1604-RESTEASY-3332825
  • published1 Jun 2025
  • disclosed17 Feb 2023

Introduced: 17 Feb 2023

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

How to fix?

Upgrade Ubuntu:16.04 resteasy to version 3.0.6-3ubuntu0.1~esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream resteasy package and not the resteasy package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

In RESTEasy the insecure File.createTempFile() is used in the DataSourceProvider, FileProvider and Mime4JWorkaround classes which creates temp files with insecure permissions that could be read by a local user.

CVSS Base Scores

version 3.1