dmyers87 / camunda-message-streaming

Allows BPMN designers to declaratively define what values, from an incoming JSON based message, will be used to correlate to a Process or a Process Instance (e.g. Execution)
Apache License 2.0
0 stars 0 forks source link

CVE-2021-28168 (Medium) detected in jersey-common-2.29.1.jar #12

Open mend-for-github-com[bot] opened 2 years ago

mend-for-github-com[bot] commented 2 years ago

CVE-2021-28168 - Medium Severity Vulnerability

Vulnerable Library - jersey-common-2.29.1.jar

Jersey core common packages

Library home page: https://www.eclipse.org/org/foundation/

Path to dependency file: /webapp/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/glassfish/jersey/core/jersey-common/2.29.1/jersey-common-2.29.1.jar

Dependency Hierarchy: - camunda-bpm-spring-boot-starter-rest-3.4.1.jar (Root Library) - spring-boot-starter-jersey-2.2.5.RELEASE.jar - jersey-server-2.29.1.jar - :x: **jersey-common-2.29.1.jar** (Vulnerable Library)

Found in HEAD commit: 41e27a1fe9f0949f331a284bafd06fdaefba62e0

Found in base branch: develop

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/eclipse-ee4j/jersey/security/advisories/GHSA-c43q-5hpj-4crv

Release Date: 2021-04-22

Fix Resolution (org.glassfish.jersey.core:jersey-common): 2.34

Direct dependency fix Resolution (org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-rest): 7.17.0