This vulnerability is potentially used
```
org.owasp.webgoat.lessons.hijacksession.HijackSessionAssignment (Application)
-> org.springframework.boot.web.embedded.jetty.JettyServletWebServerFactory$SuppliedSameSiteCookieHandlerWrapper$ResposeWrapper (Extension)
-> org.springframework.boot.web.embedded.jetty.JettyServletWebServerFactory (Extension)
-> com.github.tomakehurst.wiremock.matching.RequestPatternBuilder (Extension)
...
-> com.github.tomakehurst.wiremock.standalone.RemoteMappingsLoader (Extension)
-> com.github.tomakehurst.wiremock.common.AbstractFileSource (Extension)
-> ❌ com.google.common.io.Files (Vulnerable Component)
```
### 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.
Mend Note: Even though the security vulnerability is fixed in version 32.0.0, maintainers recommend using version 32.0.1 as version 32.0.0 breaks some functionality under Windows.
Vulnerable Library - guava-30.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.
Library home page: https://github.com/google/guava
Found in HEAD commit: 9f4c24e26919895f930725d34ee21d9b2b7fa77d
Vulnerabilities
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2023-2976
### Vulnerable Library - guava-30.1-jre.jarGuava is a suite of core and expanded libraries that include utility classes, Google's collections, I/O classes, and much more.
Library home page: https://github.com/google/guava
Dependency Hierarchy: - :x: **guava-30.1-jre.jar** (Vulnerable Library)
Found in HEAD commit: 9f4c24e26919895f930725d34ee21d9b2b7fa77d
Found in base branch: main
### Reachability AnalysisThis vulnerability is potentially used ``` org.owasp.webgoat.lessons.hijacksession.HijackSessionAssignment (Application) -> org.springframework.boot.web.embedded.jetty.JettyServletWebServerFactory$SuppliedSameSiteCookieHandlerWrapper$ResposeWrapper (Extension) -> org.springframework.boot.web.embedded.jetty.JettyServletWebServerFactory (Extension) -> com.github.tomakehurst.wiremock.matching.RequestPatternBuilder (Extension) ... -> com.github.tomakehurst.wiremock.standalone.RemoteMappingsLoader (Extension) -> com.github.tomakehurst.wiremock.common.AbstractFileSource (Extension) -> ❌ com.google.common.io.Files (Vulnerable Component) ```
### Vulnerability DetailsUse 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. Mend Note: Even though the security vulnerability is fixed in version 32.0.0, maintainers 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
For more information on CVSS3 Scores, click here. ### Suggested FixType: Upgrade version
Origin: https://github.com/advisories/GHSA-7g45-4rm6-3mm3
Release Date: 2023-06-14
Fix Resolution: 32.0.1-android