Creation of Temporary File With Insecure Permissions Affecting eap7-ironjacamar-common-spi package, versions <0:1.5.11-1.Final_redhat_00001.1.el9eap


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

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-RHEL9-EAP7IRONJACAMARCOMMONSPI-5312364
  • published1 Feb 2023
  • disclosed31 Jan 2023

Introduced: 31 Jan 2023

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

How to fix?

Upgrade RHEL:9 eap7-ironjacamar-common-spi to version 0:1.5.11-1.Final_redhat_00001.1.el9eap or higher.
This issue was patched in RHSA-2023:1514.

NVD Description

Note: Versions mentioned in the description apply only to the upstream eap7-ironjacamar-common-spi package and not the eap7-ironjacamar-common-spi package as distributed by RHEL. See How to fix? for RHEL:9 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 Scores

version 3.1