Live threats

All CVEs / Eclipse

CVE-2021-28168Eclipse Jersey

Medium 5.5

Priority
33
CVSS 3.1
5.5
EPSS
0.8%
probability of exploitation in 30 days · percentile 59
Auth required
Yes
Published
Apr 22, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-378, CWE-379, CWE-668
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Jersey.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.glassfish.jersey.core:jersey-common ≥ 2.28 < 2.34 2.34 —
Maven org.glassfish.jersey.core:jersey-common ≥ 3.0.0 < 3.0.2 3.0.2 —

Per OSV / GitHub Advisories (GHSA-c43q-5hpj-4crv). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
eclipsejersey≥ 2.28 < 2.34
eclipsejersey≥ 3.0.0 < 3.0.2
oraclecommunications_cloud_native_core_policy1.15.0
oraclecommunications_cloud_native_core_unified_data_repository1.15.0

Official sources

References

Links published by the sources. Open them with care.