CVE-2020-8908: Temp directory permission issue in Guava
Vulnerability summary
CVE-2020-8908 is a low (CVSS 3.3) vulnerability in google llc guava. EPSS estimates a 0.92% chance of exploitation in the next 30 days, higher than 60.4% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 3.3, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 7 · Related 15Timeline
- 10-12-2020PublishedVulnerability first disclosed.
- 02-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 7 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated3.3LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- OSV · DebianEcosystem advisory · calculated3.3LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- OSV · WolfiEcosystem advisory · calculated3.3LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- OSV · ChainguardEcosystem advisory · calculated3.3LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- OSV · MavenEcosystem advisory · calculated3.3LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- NVDNIST3.3LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
0.92%
Chance of exploitation in the next 30 days
Percentile
60%
Versus all other CVEs
30-day change
Decrease -0.05 pp
From 0.98% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (snyk.io)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-378Creation of Temporary File With Insecure PermissionsOpening temporary files without appropriate measures or controls can leave the file, its contents and any function that it impacts vulnerable to attack.
- CWE-732Incorrect Permission Assignment for Critical ResourceThe product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard101 products
- cassandra-4.0All versions (No fix recorded)
- cassandra-4.1All versions (No fix recorded)
- cassandra-4.1-compatAll versions (No fix recorded)
- cassandra-4.1-iamguarded-compatAll versions (No fix recorded)
- cassandra-fips-4.0All versions (No fix recorded)
Wolfi12 products
- cassandra-4.1All versions (No fix recorded)
- cassandra-4.1-compatAll versions (No fix recorded)
- cassandra-reaper< 4.0.1-r1
- celeborn-0.6< 0.6.3-r7
- druid< 37.0.0-r14 | < 34.0.0-r6 | All versions (No fix recorded) | < 38.0.0-r0
Oracle10 products
- commerce_guided_search11.3.2
- communications_cloud_native_core_network_repository_function1.14.0
- communications_cloud_native_core_network_slice_selection_function1.2.1
- communications_pricing_design_center12.0.0.4.0 | 12.0.0.5.0
- data_integrator12.2.1.3.0 | 12.2.1.4.0
Com.google.guava1 product
- guava< 32.0.0-android
Debian1 product
- guava-librariesAll versions (No fix recorded) | < 32.0.1-1
Google1 product
- guava< 32.0.0
Google llc1 product
- guava≥ 1.0, < 32.0
Mageia1 product
- guava< 25.0-2.1.mga7
Netapp1 product
Opensuse1 product
- guava&distro=openSUSE Tumbleweed< 30.1.1-1.2
Quarkus1 product
- quarkus< 1.11.4
Ubuntu1 product
- guava-librariesAll versions (No fix recorded)
12 vendors · 132 products
References
93 links- github.com/google/guava/issues/4011X Refsource CONFIRMREPORTFIXWEBIssue TrackingPatchThird Party Advisory
- github.com/google/guava/commit/fec0dbc4634006a6162cfd4d0d09c962073ddf40X Refsource CONFIRMREPORTFIXWEBPatchThird Party Advisory
Show all 93 references
- github.com/google/guavaPACKAGE