Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2020-8908

low

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 tempor…

Vendor / product: Google — guava

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.

CVSS
3.3
3.3 (CVSS v3.1)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2020-12-10 23:15
Modified: 2026-11-02 18:18
NVD status: Modified
Last synced 1 day ago
Verified against the source API 2026-11-03 07:33 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

google / guava <32.0.0
quarkus / quarkus <1.11.4
oracle / commerce_guided_search 11.3.2
oracle / communications_cloud_native_core_network_slice_selection_function 1.2.1
oracle / communications_pricing_design_center 12.0.0.4.0, 12.0.0.5.0
oracle / data_integrator 12.2.1.3.0, 12.2.1.4.0
oracle / nosql_database <20.3
oracle / peoplesoft_enterprise_peopletools 8.57, 8.58, 8.59
oracle / retail_customer_management_and_segmentation_foundation ≥16.0 ≤19.0
oracle / weblogic_server 14.1.1.0.0
oracle / communications_cloud_native_core_network_repository_function 1.14.0
oracle / primavera_unifier ≥17.7 ≤17.12, 18.8, 19.12, 20.12, 21.12
netapp / active_iq_unified_manager all versions

Weakness classification (CWE)

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Patch / mitigation: https://github.com/google/guava/commit/fec0dbc4634006a6162cfd4d0d09c962073ddf40
Patch / mitigation: https://github.com/google/guava/issues/4011
Patch / mitigation: https://snyk.io/vuln/SNYK-JAVA-COMGOOGLEGUAVA-1015415
Patch / mitigation: https://www.oracle.com//security-alerts/cpujul2021.html
Patch / mitigation: https://www.oracle.com/security-alerts/cpuApr2021.html
Patch / mitigation: https://www.oracle.com/security-alerts/cpuapr2022.html
Patch / mitigation: https://www.oracle.com/security-alerts/cpuoct2021.html
Patch / mitigation: https://github.com/google/guava/commit/fec0dbc4634006a6162cfd4d0d09c962073ddf40
Patch / mitigation: https://github.com/google/guava/issues/4011
Patch / mitigation: https://snyk.io/vuln/SNYK-JAVA-COMGOOGLEGUAVA-1015415

References

Data sources

NVD CVE API 2.0 — fetched 2026-11-03 07:33 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs