Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2020-8908 Details

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.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://github.com/google/guava/commit/fec0dbc4634006a6162cfd4d0d09c962073ddf40 CVEPatchThird Party Advisory
https://github.com/google/guava/issues/4011 CVEIssue TrackingPatchThird Party Advisory
https://lists.apache.org/thread.html/r007add131977f4f576c232b25e024249a3d16f66aad14a4b52819d21%40%3Ccommon-issues.hadoop.apache.org%3E CVEThird Party Advisory
https://lists.apache.org/thread.html/r07ed3e4417ad043a27bee7bb33322e9bfc7d7e6d1719b8e3dfd95c14%40%3Cdev.drill.apache.org%3E CVEThird Party Advisory
https://lists.apache.org/thread.html/r161b87f8037bbaff400194a63cd2016c9a69f5949f06dcc79beeab54%40%3Cdev.drill.apache.org%3E CVEThird Party Advisory

see all 86 references

Weakness Enumeration

CWE-IDCWE NameSource
CWE-732Incorrect Permission Assignment for Critical Resource[email protected]
CWE-378Creation of Temporary File With Insecure Permissions[email protected]

Affected Products

ProductVersions

Change History

36 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2020-8908
NVD Published Date:
Dec 10, 2020
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2020-8908 Details - Not Deferred