Описание
Duplicate Advisory: Insecure Temporary File in RESTEasy
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-2c6g-pfx3-w7h8. This link is maintained to preserve external references.
Original 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.
Ссылки
- https://nvd.nist.gov/vuln/detail/CVE-2023-0482
- https://github.com/resteasy/resteasy/pull/3409/commits/807d7456f2137cde8ef7c316707211bf4e542d56
- https://github.com/orgs/resteasy/discussions/3415
- https://github.com/orgs/resteasy/discussions/3504
- https://github.com/orgs/resteasy/discussions/3506
- https://issues.redhat.com/browse/RESTEASY-3286
- https://security.netapp.com/advisory/ntap-20230427-0001
Пакеты
org.jboss.resteasy:resteasy-core
< 4.7.8.Final
4.7.8.Final
org.jboss.resteasy:resteasy-core
>= 5.0.0.Alpha1, < 5.0.6.Final
5.0.6.Final
org.jboss.resteasy:resteasy-core
>= 6.0.0.Beta1, < 6.2.3.Final
6.2.3.Final
org.jboss.resteasy:resteasy-multipart-provider
< 4.7.8.Final
4.7.8.Final
org.jboss.resteasy:resteasy-multipart-provider
>= 5.0.0.Alpha1, < 5.0.6.Final
5.0.6.Final
org.jboss.resteasy:resteasy-multipart-provider
>= 6.0.0.Beta1, < 6.2.3.Final
6.2.3.Final
5.5 Medium
CVSS3
Дефекты
5.5 Medium
CVSS3