PT-2021-7916 · Eclipse · Eclipse Jersey
CVE-2021-28168
·
Published
2021-04-22
·
Updated
2024-01-12
CVSS v3.1
6.2
Medium
| Vector | AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Eclipse Jersey versions 2.28 through 2.33
Eclipse Jersey versions 3.0.0 through 3.0.1
Description
The issue is related to the creation of temporary files with insecure permissions, potentially allowing an attacker to disclose protected information. This is due to the use of the
File.createTempFile method, which creates a file in the system temporary directory with permissions that allow all local users to view the file's contents. If security-sensitive information is written to this file, it can be disclosed to other local users.Recommendations
For Eclipse Jersey versions 2.28 through 2.33, consider updating to a version outside of this range to mitigate the risk.
For Eclipse Jersey versions 3.0.0 through 3.0.1, consider updating to a version outside of this range to mitigate the risk.
As a temporary workaround, consider restricting access to the temporary directory where the files are created to minimize the risk of exploitation.
Exploit
Fix
Exposure of Resource to Wrong Sphere
Incorrect Permission
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Eclipse Jersey