CVE-2020-8908 Temp directory permission issue in Guava

Low 3.3 Published Updated

An attacker with local access can read sensitive data from world-readable temporary directories created by the Guava library's deprecated API.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2020-8908?

CVE-2020-8908 is a low-severity vulnerability in Netapp Active Iq Unified Manager, published on 10 Dec 2020. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-732, CWE-378

Which versions are affected by CVE-2020-8908?

2 open source packages ship an affected version, including com.google.guava:guava. It affects 13 products.

PackageAffectedFixed in
com.google.guava:guava MavenAll versions32.0.0-android
com.google.guava:guava MavenAll versions32.0.0-android
Linux distribution packages (1)
guava openSUSE:TumbleweedAll versions30.1.1-1.2

Products include Google Guava, Netapp Active Iq Unified Manager, Oracle Commerce Guided Search, Oracle Communications Cloud Native Core Network Repository Function, Oracle Communications Cloud Native Core Network Slice Selection Function, Oracle Communications Pricing Design Center and 7 more.

How do I fix CVE-2020-8908?

Upgrade com.google.guava:guava to 32.0.0-android or later.

Is CVE-2020-8908 being exploited?

There is no known exploitation of CVE-2020-8908 in the wild and no public exploit code.

All Netapp Active Iq Unified Manager vulnerabilities

Sources

Also known as AZL-25952, AZL-66000, CLEANSTART-2026-AO34403, CLEANSTART-2026-DL14108, CLEANSTART-2026-TL76169, CLEANSTART-2026-WG41098 and 24 more.

Is CVE-2020-8908 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free