Affected versions
- Affected versions
- < 3.15.4.Final
- Fixed version
- 3.15.5.Final
- Affected versions
- >= 5.0.0.Alpha1, < 5.0.6.Final
- Fixed version
- 5.0.6.Final
- Affected versions
- >= 6.0.0.Beta1, < 6.2.3.Final
- Fixed version
- 6.2.3.Final
- Affected versions
- >= 4.0.0.Beta1, < 4.7.8.Final
- Fixed version
- 4.7.8.Final
- Affected versions
- < 3.15.4.Final
- Fixed version
- 3.15.5.Final
- Affected versions
- >= 4.0.0.Beta1, < 4.7.8.Final
- Fixed version
- 4.7.8.Final
- Affected versions
- >= 6.0.0.Beta1, < 6.2.3.Final
- Fixed version
- 6.2.3.Final
- Affected versions
- >= 5.0.0.Alpha1, < 5.0.6.Final
- Fixed version
- 5.0.6.Final
Red HatA-MQ Clients 2/resteasy
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
Red HatRed Hat A-MQ Online/resteasy
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
Red HatRed Hat Fuse 7/resteasy
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
Exploitation
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
Links
- https://bugzilla.redhat.com/show_bug.cgi?id=2166004
- https://github.com/advisories/GHSA-2c6g-pfx3-w7h8
- https://github.com/orgs/resteasy/discussions/3415
- https://github.com/orgs/resteasy/discussions/3504
- https://github.com/orgs/resteasy/discussions/3506
- https://github.com/resteasy/resteasy
- https://github.com/resteasy/resteasy/pull/3409
- https://github.com/resteasy/resteasy/pull/3409/commits/807d7456f2137cde8ef7c316707211bf4e542d56
- https://github.com/resteasy/resteasy/pull/3410
- https://github.com/resteasy/resteasy/pull/3412
- https://github.com/resteasy/resteasy/pull/3413
- https://github.com/resteasy/resteasy/pull/3423
- https://github.com/resteasy/resteasy/security/advisories/GHSA-2c6g-pfx3-w7h8
- https://issues.redhat.com/browse/RESTEASY-3286
- https://nvd.nist.gov/vuln/detail/CVE-2023-0482
- https://security.netapp.com/advisory/ntap-20230427-0001

