Vulnerability in Google Guava
CVE-2020-8908
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS: 0.009 (60.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 60th percentile — 60.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.010 · newest: 0.009 · change: -0.001
Affected products
- Google Guava
- Google Llc Guava — versions 1.0
- NetApp Active Iq Unified Manager
- Oracle Commerce Guided Search — versions 11.3.2
- Oracle Communications Cloud Native Core Network Repository Function — versions 1.14.0
- Oracle Communications Cloud Native Core Network Slice Selection Function — versions 1.2.1
- Oracle Communications Pricing Design Center — versions 12.0.0.4.0, 12.0.0.5.0
- Oracle Data Integrator — versions 12.2.1.3.0, 12.2.1.4.0
- Oracle Nosql Database
- Oracle Peoplesoft Enterprise Peopletools — versions 8.57, 8.58, 8.59
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/google/guava/issues/4011 (Patch, Third Party Advisory, Issue Tracking)
- github.com/google/guava/commit/fec0dbc4634006a6162cfd4d0d09c962073ddf40 (Patch, Third Party Advisory)
- snyk.io/vuln/SNYK-JAVA-COMGOOGLEGUAVA-1015415 (Exploit, Patch, Third Party Advisory)
- lists.apache.org/thread.html/r68d86f4b06c808204f62bcb254fcb5b0432528ee8d37a07ef… (mailing-list, Third Party Advisory)
- lists.apache.org/thread.html/r215b3d50f56faeb2f9383505f3e62faa9f549bb23e8a9848b… (mailing-list, Third Party Advisory)
- lists.apache.org/thread.html/rb8c0f1b7589864396690fe42a91a71dea9412e86eec66dc85… (mailing-list, Third Party Advisory)
- lists.apache.org/thread.html/r4776f62dfae4a0006658542f43034a7fc199350e35a66d4e1… (mailing-list, Third Party Advisory)
- lists.apache.org/thread.html/rbc7642b9800249553f13457e46b813bea1aec99d2bc910651… (Third Party Advisory)
- lists.apache.org/thread.html/r841c5e14e1b55281523ebcde661ece00b38a0569e00ef5e12… (mailing-list, Third Party Advisory)
- lists.apache.org/thread.html/rc2dbc4633a6eea1fcbce6831876cfa17b73759a98c65326d1… (mailing-list, Third Party Advisory)
Frequently asked questions
- What is CVE-2020-8908?
- CVE-2020-8908 is a low-severity vulnerability in Google Guava, classified under Creation of Temporary File With Insecure Permissions. CVSS score: 3.3/10. Published 2020-12-10.
- How severe is CVE-2020-8908?
- Low severity. CVSS v3 base score is 3.3 out of 10.
- Is CVE-2020-8908 known to be exploited?
- 24 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.