GHSA-2c6g-pfx3-w7h8
Insecure Temporary File in RESTEasy
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2023-0482
- CVSS_V3
- 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: * https://github.com/resteasy/resteasy/pull/3409 (7.0.0.Alpha1) * https://github.com/resteasy/resteasy/pull/3423 (6.2.3.Final) * https://github.com/resteasy/resteasy/pull/3412 (5.0.6.Final) * https://github.com/resteasy/resteasy/pull/3413 (4.7.8.Final) * https://github.com/resteasy/resteasy/pull/3410 (3.15.5.Final) ### Workarounds There is no workaround for this issue. ### References * https://nvd.nist.gov/vuln/detail/CVE-2023-0482 * https://bugzilla.redhat.com/show_bug.cgi?id=2166004 * https://github.com/advisories/GHSA-jrmh-v64j-mjm9
Paquets affectés
| Paquet | Versions |
|---|---|
| Maven · org.jboss.resteasy:resteasy-core | introduced 6.0.0.Beta1, fixed 6.2.3.Final |
| Maven · org.jboss.resteasy:resteasy-core | introduced 5.0.0.Alpha1, fixed 5.0.6.Final |
| Maven · org.jboss.resteasy:resteasy-core | introduced 4.0.0.Beta1, fixed 4.7.8.Final |
| Maven · org.jboss.resteasy:resteasy-multipart-provider | introduced 6.0.0.Beta1, fixed 6.2.3.Final |
| Maven · org.jboss.resteasy:resteasy-multipart-provider | introduced 5.0.0.Alpha1, fixed 5.0.6.Final |
| Maven · org.jboss.resteasy:resteasy-multipart-provider | introduced 4.0.0.Beta1, fixed 4.7.8.Final |
| Maven · org.jboss.resteasy:resteasy-multipart-provider | introduced 0, fixed 3.15.5.Final |
| Maven · org.jboss.resteasy:resteasy-core | introduced 0, fixed 3.15.5.Final |
Références
- https://github.com/resteasy/resteasy/security/advisories/GHSA-2c6g-pfx3-w7h8 WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-0482 ADVISORY
- https://github.com/resteasy/resteasy/pull/3409 WEB
- https://github.com/resteasy/resteasy/pull/3409/commits/807d7456f2137cde8ef7c316707211bf4e542d56 WEB
- https://github.com/resteasy/resteasy/pull/3410 WEB
- https://github.com/resteasy/resteasy/pull/3412 WEB
- https://github.com/resteasy/resteasy/pull/3413 WEB
- https://github.com/resteasy/resteasy/pull/3423 WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2166004 WEB
- https://github.com/orgs/resteasy/discussions/3415 WEB
- https://github.com/orgs/resteasy/discussions/3504 WEB
- https://github.com/orgs/resteasy/discussions/3506 WEB
- https://github.com/resteasy/resteasy PACKAGE
- https://issues.redhat.com/browse/RESTEASY-3286 WEB
- https://security.netapp.com/advisory/ntap-20230427-0001 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |