PT-2021-7916 · Eclipse · Eclipse Jersey

Published

2021-04-22

·

Updated

2024-01-12

·

CVE-2021-28168

CVSS v3.1

6.2

Medium

VectorAV: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

Incorrect Permission

Exposure of Resource to Wrong Sphere

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2023-05326
CVE-2021-28168
GHSA-C43Q-5HPJ-4CRV
OESA-2021-1181
OESA-2024-1036
OESA-2024-1037
OESA-2024-1038
OESA-2024-1039

Affected Products

Eclipse Jersey