VDB

CVE-2020-8908

CVE-2020-8908 PUBLISHED CVSS 3.3 LOW

Temp directory permission issue in Guava

Reported by google · Published December 10, 2020

guava is fixed in 32.0.0-android (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
com.google.guava:guavaMaven Central32.0.0-android
debezium-connector-spanner-3.0Chainguard3.0.4-r2
celeborn-0.6Chainguard0.6.3-r7
mavenWolfi3.9.3-r1
gradle-8Wolfi8.2.1-r1
trinoWolfi481-r0
spark-3.5Chainguard3.5.9-r10
spark-fips-3.5Chainguard3.5.8-r3, 3.5.8-r14
celeborn-0.5Chainguard0.5.4-r26
maven-stage0Wolfi3.9.12-r0
maven-stage0Chainguard3.9.12-r0
cassandra-fips-4.1Chainguard4.1.12-r8

21 more packages have a fixed version. See every fix in Lookup.

Risk scores

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

Affected products

VendorProductVersions
Google LLCGuava1.0
chainguardcassandra-4.1*
chainguarddebezium-connector-spanner-3.00
chainguardceleborn-0.60
wolfimaven0
wolfigradle-80
wolfitrino0
chainguardspark-3.50
wolficassandra-4.1*
chainguardspark-fips-3.50, 0
chainguardceleborn-0.50
chainguardelasticsearch-7*
wolfimaven-stage00
chainguardmaven-stage00
chainguardkeycloak-fips*
wolfikeycloak*
chainguardcassandra-fips-4.10
chainguardgrpc-java-fips-1.56.0*
chainguardtrino0
chainguardkeycloak*

…and 18 more

Timeline

  • Dec 10, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Feb 8, 2024 PoC Published (2 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (17 in total, the first dated here)
  • Mar 17, 2026 Distribution Patch (15 in total, the first dated here)
  • Aug 28, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-8908
vulnetix vdb fixes CVE-2020-8908

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-8908/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

…and 64 more

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›