opensearch-build
opensearch-build copied to clipboard
CVE-2023-2976 (High) detected in guava-31.1-jre.jar
CVE-2023-2976 - High Severity Vulnerability
Vulnerable Library - guava-31.1-jre.jar
Guava is a suite of core and expanded libraries that include utility classes, Google's collections, I/O classes, and much more.
Path to dependency file: /build.gradle
Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/31.1-jre/60458f877d055d0c9114d9e1a2efb737b4bc282c/guava-31.1-jre.jar
Dependency Hierarchy:
- groovy-cps-3606.v0b_d8b_e512dcf.jar (Root Library)
- :x: guava-31.1-jre.jar (Vulnerable Library)
Found in HEAD commit: b439dcbcaec85cb505ff1870eaac296568ab9261
Found in base branch: main
Vulnerability Details
Use of Java's default temporary directory for file creation in FileBackedOutputStream in Google Guava versions 1.0 to 31.1 on Unix systems and Android Ice Cream Sandwich allows other users and apps on the machine with access to the default Java temporary directory to be able to access the files created by the class.
Even though the security vulnerability is fixed in version 32.0.0, we recommend using version 32.0.1 as version 32.0.0 breaks some functionality under Windows.
Publish Date: 2023-06-14
URL: CVE-2023-2976
CVSS 3 Score Details (7.1)
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: High
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: https://github.com/advisories/GHSA-7g45-4rm6-3mm3
Release Date: 2023-06-14
Fix Resolution: com.google.guava:guava:32.0.1-android,32.0.1-jre
@jordarlu Can you look in to this issue and update?
Hi, @bbarani , the guava-31.1 is dependant on groovy-cps:1.31 , and the latest groovy-cps is the 1.31 (https://mvnrepository.com/artifact/com.cloudbees/groovy-cps) Will need to wait for newer groovy-cps published and newer jenkins core to fix this CVE-2023-2976 ,thanks,
+--- com.cloudbees:groovy-cps:1.31 -> 3606.v0b_d8b_e512dcf
| \--- com.google.guava:guava:31.1-jre
+--- org.jenkins-ci.main:jenkins-core:2.387.1
| +--- org.jenkins-ci.main:cli:2.387.1
| +--- org.jenkins-ci.main:remoting:3107.v665000b_51092
| +--- args4j:args4j:2.33
| +--- com.github.spotbugs:spotbugs-annotations:4.7.3
| +--- com.google.guava:guava:31.1-jre (*)
:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.