Temp directory permission issue in Guava

Summary

CVECVE-2020-8908
StatePUBLISHED
AssignerGoogle
Source PriorityCVE Program / NVD first with legacy fallback
Published2020-12-10 23:15:13 UTC
Updated2026-11-02 18:18:31 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 3.3 LOW from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

EPSS: 0.009240000 probability, percentile 0.604060000 (date 2026-11-02)

Problem Types: CWE-378 | CWE-732 | CWE-378 CWE-378: Creation of Temporary File With Insecure Permissions


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary3.3LOWCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
3.1[email protected]Secondary3.3LOWCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
3.1CNACVSS3.3LOWCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
2.0[email protected]Primary2.1AV:L/AC:L/Au:N/C:P/I:N/A:N

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
None
Availability
None

AV:L/AC:L/Au:N/C:P/I:N/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Google Guava All All All All
Application Netapp Active Iq Unified Manager - All All All
Application Netapp Active Iq Unified Manager - All All All
Application Netapp Active Iq Unified Manager - All All All
Application Oracle Commerce Guided Search 11.3.2 All All All
Application Oracle Communications Cloud Native Core Network Repository Function 1.14.0 All All All
Application Oracle Communications Cloud Native Core Network Slice Selection Function 1.2.1 All All All
Application Oracle Communications Pricing Design Center 12.0.0.4.0 All All All
Application Oracle Communications Pricing Design Center 12.0.0.5.0 All All All
Application Oracle Data Integrator 12.2.1.3.0 All All All
Application Oracle Data Integrator 12.2.1.4.0 All All All
Application Oracle Nosql Database All All All All
Application Oracle Peoplesoft Enterprise Peopletools 8.57 All All All
Application Oracle Peoplesoft Enterprise Peopletools 8.58 All All All
Application Oracle Peoplesoft Enterprise Peopletools 8.59 All All All
Application Oracle Primavera Unifier 18.8 All All All
Application Oracle Primavera Unifier 19.12 All All All
Application Oracle Primavera Unifier 20.12 All All All
Application Oracle Primavera Unifier 21.12 All All All
Application Oracle Primavera Unifier All All All All
Application Oracle Retail Customer Management And Segmentation Foundation All All All All
Application Oracle Weblogic Server 14.1.1.0.0 All All All
Application Quarkus Quarkus All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Google LLC Guava affected 1.0 32.0 custom Not specified

References

ReferenceSourceLinkTags
lists.apache.org/thread.html/r5d61b98ceb7bba939a651de5900dbd67be3817db6bfcc41c... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
Deprecate Files.createTempDir(), noting that better alternatives exis… · google/guava@fec0dbc · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Patch, Third Party Advisory
lists.apache.org/thread.html/r5b3d93dfdfb7708e796e8762ab40edbde8ff8add48aba53e... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
lists.apache.org/thread.html/r294be9d31c0312d2c0837087204b5d4bf49d0552890e6eec... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
lists.apache.org/thread.html/rfc27e2727a20a574f39273e0432aa97486a332f9b3068f6a... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
lists.apache.org/thread.html/r161b87f8037bbaff400194a63cd2016c9a69f5949f06dcc7... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
lists.apache.org/thread.html/r49549a8322f62cd3acfa4490d25bfba0be04f3f9ff4d14fe... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
Oracle Critical Patch Update Advisory - April 2022 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Third Party Advisory
lists.apache.org/thread.html/rd2704306ec729ccac726e50339b8a8f079515cc29ccb7771... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
lists.apache.org/thread.html/r3dd8881de891598d622227e9840dd7c2ef1d08abbb49e969... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
lists.apache.org/thread.html/r79e47ed555bdb1180e528420a7a2bb898541367a29a3bc6b... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
lists.apache.org/thread.html/rb2364f4cf4d274eab5a7ecfaf64bf575cedf8b0173551997... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
Oracle Critical Patch Update Advisory - October 2021 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Third Party Advisory
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
Oracle Critical Patch Update Advisory - July 2021 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Third Party Advisory
lists.apache.org/thread.html/r7b0e81d8367264d6cad98766a469d64d11248eb654417809... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
lists.apache.org/thread.html/r58a8775205ab1839dba43054b09a9ab3b25b423a4170b241... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
lists.apache.org/thread.html/r6874dfe26eefc41b7c9a5e4a0487846fc4accf8c78ff948b... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
lists.apache.org/thread.html/rd01f5ff0164c468ec7abc96ff7646cea3cce6378da2e4aa2... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
lists.apache.org/thread.html/rd7e12d56d49d73e2b8549694974b07561b79b05455f7f781... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
lists.apache.org/thread.html/r007add131977f4f576c232b25e024249a3d16f66aad14a4b... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
CVE-2020-8908 Guava Vulnerability in NetApp Products | NetApp Product Security af854a3a-2127-422b-91ae-364da2661108 security.netapp.com Third Party Advisory
Oracle Critical Patch Update Advisory - January 2022 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Third Party Advisory
Oracle Critical Patch Update Advisory - April 2021 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Third Party Advisory
CVE-2020-8908: Files::createTempDir local information disclosure vulnerability · Issue #4011 · google/guava · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Issue Tracking, Patch, Third Party Advisory
lists.apache.org/thread.html/rc607bc52f3507b8b9c28c6a747c3122f51ac24afe80af2a6... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
lists.apache.org/thread.html/rcafc3a637d82bdc9a24036b2ddcad1e519dd0e6f848fcc3d... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
lists.apache.org/thread.html/re120f6b3d2f8222121080342c5801fdafca2f5188ceeb3b4... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
Information Disclosure in com.google.guava:guava | Snyk af854a3a-2127-422b-91ae-364da2661108 snyk.io Exploit, Patch, Third Party Advisory
lists.apache.org/thread.html/ra7ab308481ee729f998691e8e3e02e93b1dedfc98f6b1cd3... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
lists.apache.org/thread.html/r07ed3e4417ad043a27bee7bb33322e9bfc7d7e6d1719b8e3... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
lists.apache.org/thread.html/rf9f0fa84b8ae1a285f0210bafec6de2a9eba083007d04640... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
lists.apache.org/thread.html/reebbd63c25bc1a946caa419cec2be78079f8449d1af48e52... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
lists.apache.org/thread.html/rf00b688ffa620c990597f829ff85fdbba8bf73ee7bfb3478... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
lists.apache.org/thread.html/r2fe45d96eea8434b91592ca08109118f6308d60f6d0e21d5... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Third Party Advisory
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Jonathan Leitschuh (en)

Legacy QID Mappings

  • 150696 Oracle WebLogic Server Multiple Vulnerabilities (CPUJUL2023)
  • 239895 Red Hat Update for Satellite 6.10 (RHSA-2021:4702)
  • 375720 Oracle PeopleSoft Enterprise PeopleTools Product Multiple Vulnerabilities (CPUJUL2021)
  • 376547 Oracle PeopleSoft Enterprise PeopleTools Product Multiple Vulnerabilities (CPUAPR2022)
  • 378883 Splunk Enterprise August Third Party Package Updates (SVD-2023-0808)
  • 754233 SUSE Enterprise Linux Security Update for guava (SUSE-SU-2023:3090-1)
  • 755845 SUSE Enterprise Linux Security Update for suse manager 4.2: server (SUSE-SU-2023:1831-1)
  • 87489 Oracle WebLogic Server Multiple Vulnerabilities (CPUAPR2022)
  • 87542 Oracle WebLogic Server Multiple Vulnerabilities (CPUAPR2023)
  • 87546 Oracle WebLogic Server Multiple Vulnerabilities (CPUJUL2023)
  • 900945 Common Base Linux Mariner (CBL-Mariner) Security Update for guava (7240)
  • 907267 Common Base Linux Mariner (CBL-Mariner) Security Update for guava (25952-1)
  • 980276 Java (maven) Security Update for com.google.guava:guava (GHSA-5mg8-w23w-74h3)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report