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.
Fixed in the following pull requests:
There is no workaround for this issue.
{
"cwe_ids": [
"CWE-378"
],
"github_reviewed": true,
"github_reviewed_at": "2025-01-15T18:56:57Z",
"severity": "MODERATE",
"nvd_published_at": null
}