Insecure Temporary File in RESTEasy
Moderate severity
GitHub Reviewed
Published
Jan 15, 2025
in
resteasy/resteasy
•
Updated Jan 15, 2025
Package
Affected versions
>= 6.0.0.Beta1, < 6.2.3.Final
>= 5.0.0.Alpha1, < 5.0.6.Final
>= 4.0.0.Beta1, < 4.7.8.Final
< 3.15.4.Final
Patched versions
6.2.3.Final
5.0.6.Final
4.7.8.Final
3.15.5.Final
>= 6.0.0.Beta1, < 6.2.3.Final
>= 5.0.0.Alpha1, < 5.0.6.Final
>= 4.0.0.Beta1, < 4.7.8.Final
< 3.15.4.Final
6.2.3.Final
5.0.6.Final
4.7.8.Final
3.15.5.Final
Description
Published to the GitHub Advisory Database
Jan 15, 2025
Reviewed
Jan 15, 2025
Last updated
Jan 15, 2025
Impact
In RESTEasy the insecure
File.createTempFile()
is used in theDataSourceProvider
,FileProvider
andMime4JWorkaround
classes which creates temp files with insecure permissions that could be read by a local user.Patches
Fixed in the following pull requests:
Workarounds
There is no workaround for this issue.
References
References