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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.glassfish.jersey.core:jersey-common | 2.34 | GHSA-c43q-5hpj-4crv |
| Maven | org.glassfish.jersey.core:jersey-common | 3.0.2 | GHSA-c43q-5hpj-4crv |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://github.com/eclipse-ee4j/jersey/security/advisories/GHSA-c43q-5hpj-4crv x_refsource_CONFIRM
- https://github.com/eclipse-ee4j/jersey/pull/4712 x_refsource_CONFIRM
- [kafka-jira] 20210429 [GitHub] [kafka] xjin-Confluent opened a new pull request #10614: MINOR: Upgrade jersey to 2.34 mailing-list, x_refsource_MLIST
- [kafka-jira] 20210505 [jira] [Created] (KAFKA-12752) CVE-2021-28168 upgrade jersey to 2.34 or 3.02 mailing-list, x_refsource_MLIST
- [kafka-dev] 20210505 [jira] [Created] (KAFKA-12752) CVE-2021-28168 upgrade jersey to 2.34 or 3.02 mailing-list, x_refsource_MLIST
- [kafka-jira] 20210505 [GitHub] [kafka] shayelkin opened a new pull request #10636: MINOR: Bump Jersey deps to 2.34 due to CVE-2021-28168 mailing-list, x_refsource_MLIST
- [kafka-jira] 20210506 [jira] [Assigned] (KAFKA-12752) CVE-2021-28168 upgrade jersey to 2.34 or 3.02 mailing-list, x_refsource_MLIST
- [kafka-jira] 20210506 [jira] [Commented] (KAFKA-12752) CVE-2021-28168 upgrade jersey to 2.34 or 3.02 mailing-list, x_refsource_MLIST
- [kafka-jira] 20210506 [GitHub] [kafka] dongjinleekr opened a new pull request #10641: KAFKA-12752: CVE-2021-28168 upgrade jersey to 2.34 or 3.02 mailing-list, x_refsource_MLIST
- [kafka-jira] 20210506 [GitHub] [kafka] omkreddy commented on pull request #10641: KAFKA-12752: CVE-2021-28168 upgrade jersey to 2.34 or 3.02 mailing-list, x_refsource_MLIST
- [kafka-jira] 20210506 [GitHub] [kafka] omkreddy merged pull request #10636: MINOR: Bump Jersey deps to 2.34 due to CVE-2021-28168 mailing-list, x_refsource_MLIST
- [kafka-commits] 20210506 [kafka] branch 2.7 updated: KAFKA-12752: Bump Jersey deps to 2.34 due to CVE-2021-28168 (#10636) mailing-list, x_refsource_MLIST
- [kafka-commits] 20210506 [kafka] branch 2.8 updated: KAFKA-12752: Bump Jersey deps to 2.34 due to CVE-2021-28168 (#10636) mailing-list, x_refsource_MLIST
- [kafka-jira] 20210506 [jira] [Resolved] (KAFKA-12752) CVE-2021-28168 upgrade jersey to 2.34 or 3.02 mailing-list, x_refsource_MLIST
- [kafka-dev] 20210506 [jira] [Resolved] (KAFKA-12752) CVE-2021-28168 upgrade jersey to 2.34 or 3.02 mailing-list, x_refsource_MLIST
- [kafka-jira] 20210507 [GitHub] [kafka] dongjinleekr closed pull request #10641: KAFKA-12752: CVE-2021-28168 upgrade jersey to 2.34 or 3.02 mailing-list, x_refsource_MLIST
- [kafka-jira] 20210507 [GitHub] [kafka] dongjinleekr commented on pull request #10641: KAFKA-12752: CVE-2021-28168 upgrade jersey to 2.34 or 3.02 mailing-list, x_refsource_MLIST
- [kafka-users] 20210617 vulnerabilities mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpuapr2022.html x_refsource_MISC