resteasy/resteasy · Security

Insecure Temporary File in RESTEasy

GHSA ID
GHSA-2c6g-pfx3-w7h8
CVE ID
CVE-2023-0482
Severity
medium
Published
Updated
CVSS
5.5 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS v3
5.5 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Description

Impact

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.

Patches

Fixed in the following pull requests:

Workarounds

There is no workaround for this issue.

References

CWEs

References