CVE-2023-0482
Java vulnerability analysis and mitigation

Overview

In RESTEasy versions prior to 4.7.8, an insecure implementation of File.createTempFile() was discovered in the DataSourceProvider, FileProvider, and Mime4JWorkaround classes. This vulnerability was assigned CVE-2023-0482 and was first reported on January 24, 2023 (CVE-MITRE).

Technical details

The vulnerability stems from the usage of insecure File.createTempFile() method in multiple classes including DataSourceProvider, FileProvider, and Mime4JWorkaround. The created temporary files have insecure permissions that could potentially be read by local users. The vulnerability has been assigned a CVSS v3.1 score of 5.5 (MEDIUM) with the vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N (NetApp-Advisory).

Impact

The successful exploitation of this vulnerability could lead to disclosure of sensitive information as the temporary files created with insecure permissions could be read by local users (NetApp-Advisory).

Mitigation and workarounds

The vulnerability has been fixed by implementing new NIO file utilities to create temporary files. The fix was merged through a pull request that replaced the usage of File.createTempFile() with Files.createTempFile() (GitHub-Commit).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-26866HIGH8.8
  • JavaJava
  • org.apache.hugegraph:hg-pd-core
NoYesDec 12, 2025
CVE-2025-54981HIGH7.5
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025
CVE-2025-67721MEDIUM6.3
  • JavaJava
  • trino
NoYesDec 12, 2025
CVE-2025-53960MEDIUM5.9
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025
CVE-2025-54947MEDIUM5.3
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management