HOMEVULNERABILITIESCVE-2020-8908
LOW

CVE-2020-8908

CWE-378Published: December 10, 2020· Updated: Jun 17, 2026

3.3
CVSS v3.1

Official 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.

NVD Source

Technical Analysis

CVE-2020-8908 requires local access, meaning attackers must already have a foothold on the target system.

Exploitation requires low privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorLocal
Attack ComplexityLow
Privileges Req.Low
User InteractionNone
ScopeUnchanged
Impact
ConfidentialityLow
IntegrityNone
AvailabilityNone
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Affected Vendors & Products

Google1 product(s)
guava
netapp1 product(s)
active iq unified manager
Oracle10 product(s)
commerce guided searchcommunications cloud native core network slice selection functioncommunications pricing design centerdata integratornosql databasepeoplesoft enterprise peopletoolsretail customer management and segmentation foundationweblogic servercommunications cloud native core network repository functionprimavera unifier
quarkus1 product(s)
quarkus
Source: NVD CPE · 21 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (86)

https://github.com/google/guava/issues/4011Issue Tracking · Patch · Third Party Advisory

Quick Facts

CVE IDCVE-2020-8908
CVSS Score3.3 / 10
SeverityLOW
WeaknessCWE-378
CISA KEVNo
Affected4 vendor(s)
PublishedDec 10, 2020

Related CVEs (CWE-378)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2020-8908 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWatch. CVE data is provided under the NVD usage policy.