Vulnerability · Published Apr 22, 2021 · Assigned by eclipse

CVE-2021-28168

Medium 6.2

In plain English

A medium-severity security flaw in Eclipse Jersey from The Eclipse Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.2Medium
Exploit odds (30 days)0.9%top 41.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.glassfish.jersey.core:jersey-common2.34GHSA-c43q-5hpj-4crv
Mavenorg.glassfish.jersey.core:jersey-common3.0.2GHSA-c43q-5hpj-4crv

Affected products (as reported)

VendorProductVersions
The Eclipse Foundation Eclipse Jersey 2.28 – before unspecifiedunspecified – through 2.333.0.0 – before unspecifiedunspecified – through 3.0.1

Weakness: CWE-378, CWE-379 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References