CVE-2021-28168: eclipse jersey
Vulnerability summary
CVE-2021-28168 is a medium (CVSS 6.2) vulnerability in eclipse jersey. EPSS estimates a 0.87% chance of exploitation in the next 30 days, higher than 58% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 22-04-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · WolfiEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NDiffers
- OSV · ChainguardEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NDiffers
- OSV · MavenEcosystem advisory · calculated6.2MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NDiffers
EPSS trend
Probability
0.87%
Chance of exploitation in the next 30 days
Percentile
58%
Versus all other CVEs
30-day change
-0.04 pp
From 0.91% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-378Creation of Temporary File With Insecure PermissionsOpening temporary files without appropriate measures or controls can leave the file, its contents and any function that it impacts vulnerable to attack.
- CWE-379Creation of Temporary File in Directory with Insecure PermissionsThe product creates a temporary file in a directory whose permissions allow unintended actors to determine the file's existence or otherwise access that file.
- CWE-668Exposure of Resource to Wrong SphereThe product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.
Affected systems
Oracle2 products
Chainguard1 product
- cassandra-reaper< 4.0.1-r1
Eclipse1 product
- jersey≥ 2.28, < 2.34 | ≥ 3.0.0, < 3.0.2
Org.glassfish.jersey.core1 product
- jersey-common≥ 2.28, < 2.34 | ≥ 3.0.0, < 3.0.2
The eclipse foundation1 product
- eclipse jersey≥ 2.28, < unspecified | ≥ unspecified, ≤ 2.33 | ≥ 3.0.0, < unspecified | ≥ unspecified, ≤ 3.0.1
Wolfi1 product
- cassandra-reaper< 4.0.1-r1
6 vendors · 7 products
References
36 links- github.com/eclipse-ee4j/jersey/security/advisories/GHSA-c43q-5hpj-4crvX Refsource CONFIRMAdvisoryWEBThird Party Advisory