CVEfocus › CVE database › CVE-2021-28168

CVE-2021-28168

CVSS 6.2 MediumEPSS 0.8% (higher than 56% of CVEs)Published 2021-04-22Updated 2024-08-03Assigner: eclipse

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.

CWE-378CWE-379

What to do

Fixed builds are available from Maven: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04jersey1Not affected
vulnerable_code_not_present
Ubuntu 18.04jersey1Not affected
vulnerable_code_not_present
Ubuntu 16.04jersey1Not affected
vulnerable_code_not_present
Maven libraryorg.glassfish.jersey.core:jersey-commonFixed3.0.2GHSA-c43q-5hpj-4crv

What the vendor says

As published in the CVE record by eclipse, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.