CVE-2020-8908

Temp directory permission issue in Guava

LOW
3.3
CVSS Score
Published: December 10, 2020 at 10:10 PM UTC
Updated: June 17, 2026 at 03:27 AM UTC
13 products affected across 4 vendorsActive IQ Unified ManagerPeopleSoft Enterprise PeopleToolsWebLogic Server

Using Guava by Google LLC?

Get instant alerts when new vulnerabilities affect Guava - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
LOW3.3
Exploit prediction
EPSS 0.9%

Description

A temp directory creation vulnerability exists in all versions of Guava, allowing an attacker with access to the machine to potentially access data in a temporary directory created by the Guava API com.google.common.io.Files.createTempDir(). By default, on unix-like systems, the created directory is world-readable (readable by an attacker with access to the system). The method in question has been marked @Deprecated in versions 30.0 and later and should not be used. For Android developers, we recommend choosing a temporary directory API provided by Android, such as context.getCacheDir(). For other Java developers, we recommend migrating to the Java 7 API java.nio.file.Files.createTempDirectory() which explicitly configures permissions of 700, or configuring the Java runtime's java.io.tmpdir system property to point to a location whose permissions are appropriately configured.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 32.0.01.0 ≤ v < 32.01.0
Affected range stops below 32.0, so it looks safe — our inference, not a vendor statement
Affected range stops below 32.0.0, so it looks safe — our inference, not a vendor statement
v < 20.3
Affected range stops below 20.3, so it looks safe — our inference, not a vendor statement

References (43)

CVSS

3.3LOWGoogle
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-378CWE-732

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card