finos / spring-bot

Spring Boot + Java Integration for Symphony/Teams Chat Platform Bots and Apps
https://springbot.finos.org
Apache License 2.0
60 stars 35 forks source link

CVE-2021-28168 (Medium) detected in jersey-common-2.33.jar #195

Closed mend-for-github-com[bot] closed 2 years ago

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

CVE-2021-28168 - Medium Severity Vulnerability

Vulnerable Library - jersey-common-2.33.jar

Jersey core common packages

Library home page: https://projects.eclipse.org/projects/ee4j.jersey

Path to dependency file: /tools/rss-bot/pom.xml

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

Dependency Hierarchy: - :x: **jersey-common-2.33.jar** (Vulnerable Library)

Found in HEAD commit: 3da9e0f849079934eb92135cec1f523e22bdc1ad

Found in base branch: spring-bot-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 (5.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - Privileges Required: Low - 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,3.0.2


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

:heavy_check_mark: This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.

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

:information_source: This issue was automatically re-opened by WhiteSource because the vulnerable library in the specific branch(es) has been detected in the WhiteSource inventory.