CVE-2020-8908
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.
Description as published by the source, in English.
Key facts
- Published
- 2020-12-10
- Last modified
- 2026-11-02
- Assigned by
- cve-coordination@google.com
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
1.0 %
higher than 58 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Guava | < 32.0.0 | Affected | |
| Netapp | Active Iq Unified Manager | all versions listed | Affected |
| Oracle | Commerce Guided Search | 11.3.2 | Affected |
| Oracle | Communications Cloud Native Core Network Repository Function | 1.14.0 | Affected |
| Oracle | Communications Cloud Native Core Network Slice Selection Function | 1.2.1 | Affected |
| Oracle | Communications Pricing Design Center | 12.0.0.4.0 | Affected |
| Oracle | Communications Pricing Design Center | 12.0.0.5.0 | Affected |
| Oracle | Data Integrator | 12.2.1.3.0 | Affected |
| Oracle | Data Integrator | 12.2.1.4.0 | Affected |
| Oracle | Nosql Database | < 20.3 | Affected |
| Oracle | Peoplesoft Enterprise Peopletools | 8.57 | Affected |
| Oracle | Peoplesoft Enterprise Peopletools | 8.58 | Affected |
| Oracle | Peoplesoft Enterprise Peopletools | 8.59 | Affected |
| Oracle | Primavera Unifier | 18.8 | Affected |
| Oracle | Primavera Unifier | 19.12 | Affected |
| Oracle | Primavera Unifier | 20.12 | Affected |
| Oracle | Primavera Unifier | 21.12 | Affected |
| Oracle | Primavera Unifier | ≥ 17.7, ≤ 17.12 | Affected |
| Oracle | Retail Customer Management And Segmentation Foundation | ≥ 16.0, ≤ 19.0 | Affected |
| Oracle | Weblogic Server | 14.1.1.0.0 | Affected |
| Quarkus | Quarkus | < 1.11.4 | Affected |
Weakness type
-
CWE-732: Incorrect Permission Assignment for Critical Resource
The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.
-
CWE-378: Creation of Temporary File With Insecure Permissions
Opening temporary files without appropriate measures or controls can leave the file, its contents and any function that it impacts vulnerable to attack.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1083: File and Directory Discovery
- T1134.001: Token Impersonation/Theft
- T1505.005: Terminal Services DLL
- T1548: Abuse Elevation Control Mechanism
- T1550.004: Web Session Cookie
- T1553.002: Code Signing
- T1554: Compromise Host Software Binary
- T1574.005: Executable Installer File Permissions Weakness
- T1574.010: Services File Permissions Weakness
References
- https://github.com/google/guava/commit/fec0dbc4634006a6162cfd4d0d09c962073ddf40
- https://github.com/google/guava/issues/4011
- https://lists.apache.org/thread.html/r007add131977f4f576c232b25e024249a3d16f66aad14a4b528…
- https://lists.apache.org/thread.html/r07ed3e4417ad043a27bee7bb33322e9bfc7d7e6d1719b8e3dfd…
- https://lists.apache.org/thread.html/r161b87f8037bbaff400194a63cd2016c9a69f5949f06dcc79be…
- https://lists.apache.org/thread.html/r215b3d50f56faeb2f9383505f3e62faa9f549bb23e8a9848b78…
- https://lists.apache.org/thread.html/r294be9d31c0312d2c0837087204b5d4bf49d0552890e6eec716…
- https://lists.apache.org/thread.html/r2fe45d96eea8434b91592ca08109118f6308d60f6d0e21d5243…
- https://lists.apache.org/thread.html/r3c3b33ee5bef0c67391d27a97cbfd89d44f328cf072b601b58d…
- https://lists.apache.org/thread.html/r3dd8881de891598d622227e9840dd7c2ef1d08abbb49e9690c7…
- https://lists.apache.org/thread.html/r4776f62dfae4a0006658542f43034a7fc199350e35a66d4e181…
- https://lists.apache.org/thread.html/r49549a8322f62cd3acfa4490d25bfba0be04f3f9ff4d14fe361…
- https://lists.apache.org/thread.html/r58a8775205ab1839dba43054b09a9ab3b25b423a4170b2413c4…
- https://lists.apache.org/thread.html/r5b3d93dfdfb7708e796e8762ab40edbde8ff8add48aba53e5ea…
- https://lists.apache.org/thread.html/r5d61b98ceb7bba939a651de5900dbd67be3817db6bfcc41c6e0…
- https://lists.apache.org/thread.html/r6874dfe26eefc41b7c9a5e4a0487846fc4accf8c78ff948b24a…
- https://lists.apache.org/thread.html/r68d86f4b06c808204f62bcb254fcb5b0432528ee8d37a07ef4b…
- https://lists.apache.org/thread.html/r79e47ed555bdb1180e528420a7a2bb898541367a29a3bc6bbf0…
- https://lists.apache.org/thread.html/r7b0e81d8367264d6cad98766a469d64d11248eb654417809bfd…
- https://lists.apache.org/thread.html/r841c5e14e1b55281523ebcde661ece00b38a0569e00ef5e12bd…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.