-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Vulnerable Library - jersey-hk2-2.30.jar
Path to dependency file: /jetty-servlet4-http2/build.gradle
Path to vulnerable library: /tmp/containerbase/cache/.gradle/caches/modules-2/files-2.1/org.glassfish.jersey.core/jersey-common/2.30/74ce040a9c83036be2d43ea093e51f3c6876848c/jersey-common-2.30.jar
Found in HEAD commit: 532fc0bba1f937b4f09687c40b2d831d386eec6b
Vulnerabilities
Vulnerability | Severity | Dependency | Type | Fixed in (jersey-hk2 version) | Remediation Possible** | Reachability | |
---|---|---|---|---|---|---|---|
CVE-2021-28168 | 6.2 | jersey-common-2.30.jar | Transitive | 2.34 | ✅ |
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2021-28168
Vulnerable Library - jersey-common-2.30.jar
Jersey core common packages
Library home page: https://www.eclipse.org/org/foundation/
Path to dependency file: /jetty-servlet4-http2/build.gradle
Path to vulnerable library: /tmp/containerbase/cache/.gradle/caches/modules-2/files-2.1/org.glassfish.jersey.core/jersey-common/2.30/74ce040a9c83036be2d43ea093e51f3c6876848c/jersey-common-2.30.jar
Dependency Hierarchy:
- jersey-hk2-2.30.jar (Root Library)
- ❌ jersey-common-2.30.jar (Vulnerable Library)
Found in HEAD commit: 532fc0bba1f937b4f09687c40b2d831d386eec6b
Found in base branch: master
Vulnerability Details
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.
Publish Date: 2021-04-22
URL: CVE-2021-28168
CVSS 3 Score Details (6.2)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Local
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: High
- Integrity Impact: None
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: GHSA-c43q-5hpj-4crv
Release Date: 2021-04-22
Fix Resolution (org.glassfish.jersey.core:jersey-common): 2.34
Direct dependency fix Resolution (org.glassfish.jersey.inject:jersey-hk2): 2.34
⛑️ Automatic Remediation will be attempted for this issue.
⛑️Automatic Remediation will be attempted for this issue.