What’s Vulnerable › Vulnerabilities

CVE-2021-28168

Description

Eclipse Jersey 2.28 to 2.33 and Eclipse Jersey 3.0.0 to 3.0.1 contains a local information disclosure vulnerability. This is due to the use of the File.createTempFile which creates a file inside of the system temporary directory with the permissions: -rw-r--r--. Thus the contents of this file are viewable by all other users locally on the system. As such, if the contents written is security sensitive, it can be disclosed to other local users.

Affected products

How to fix

Upgrade to a fixed version: Eclipse Foundation Jersey 2.34, 3.0.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-28168 or the next vulnerability affects your stack