CVE-2021-28168: Eclipse Jersey 2.28 to 2.33 and Eclipse Jersey 3.0.0 to 3.0.1 contains a local information disclosure vulnerab
36
Routine
MEDIUM 6.2UPGRADEDOWNGRADEDOWNGRADE
CVE-2021-28168 is a medium-severity flaw (CVSS 6.2) affecting jersey, communications cloud native core policy, communications cloud native core unified data repository. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-28168?
jersey: upgrade to 2.34, 3.0.2; communications cloud native core policy: downgrade or apply the listed mitigation; communications cloud native core unified data repository: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-28168 being exploited?
CVE-2021-28168 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-28168 affect?
CVE-2021-28168 affects jersey, communications cloud native core policy, communications cloud native core unified data repository. Severity is medium (CVSS 6.2). 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 pe
How urgent is CVE-2021-28168?
Priority 36/100. No elevated risk signals yet.
Related CVEs
CVE-2025-12383HIGH 7.4DOWNGRADE In Eclipse Jersey versions 2.45, 3.0.16, 3.1.9 a race condition can cause ignoring of critical SSL configurati
CVE-2014-3643HIGH 7.5MITIGATE jersey: XXE via parameter entities not disabled by the jersey SAX parser