Skip to content
OpenAdvisories
Medium · 6.2 CVE-2021-28168 EUVD-2021-0808GHSA-c43q-5hpj-4crv

Local information disclosure via system temporary directory

Published Apr 22, 2021 · Updated Aug 3, 2024 · Assigned by eclipse

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

VendorProductAffectedFixed
The Eclipse Foundation Eclipse Jersey 2.28 – < unspecified, unspecified – ≤ 2.33, 3.0.0 – < unspecified, unspecified – ≤ 3.0.1 unspecified

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling cassandra-reaper 4.0.1-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.glassfish.jersey.core:jersey-common >= 2.28, < 2.34 2.34 GHSA-c43q-5hpj-4crv
Maven org.glassfish.jersey.core:jersey-common >= 3.0.0, < 3.0.2 3.0.2 GHSA-c43q-5hpj-4crv

Advisories 2

References