Insecure Temporary File in RESTEasy
Moderate severity
GitHub Reviewed
Published
Feb 18, 2023
to the GitHub Advisory Database
•
Updated Apr 27, 2023
Package
Affected versions
<= 6.2.2.Final
Patched versions
None
Description
Published by the National Vulnerability Database
Feb 17, 2023
Published to the GitHub Advisory Database
Feb 18, 2023
Reviewed
Feb 18, 2023
Last updated
Apr 27, 2023
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.
References