Description
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.
Remediation
References
https://github.com/resteasy/resteasy/pull/3409/commits/807d7456f2137cde8ef7c316707211bf4e542d56
https://security.netapp.com/advisory/ntap-20230427-0001/
Related Vulnerabilities
CVE-2017-18352 Vulnerability in npm package rendertron-middleware
CVE-2021-23346 Vulnerability in npm package html-parse-stringify2
CVE-2022-24847 Vulnerability in maven package org.geoserver.community:gs-jdbcconfig
CVE-2021-45105 Vulnerability in maven package org.apache.logging.log4j:log4j-core
CVE-2023-40349 Vulnerability in maven package org.jenkins-ci.plugins:gogs-webhook