Skip to content

Information Disclosure in Guava

Low severity GitHub Reviewed Published Mar 25, 2021 to the GitHub Advisory Database • Updated Nov 9, 2023

Package

maven com.google.guava:guava (Maven)

Affected versions

< 32.0.0-android

Patched versions

32.0.0-android

Description

A temp directory creation vulnerability exists in Guava prior to version 32.0.0 allowing an attacker with access to the machine to potentially access data in a temporary directory created by the Guava com.google.common.io.Files.createTempDir(). The permissions granted to the directory created default to the standard unix-like /tmp ones, leaving the files open. Maintainers recommend explicitly changing the permissions after the creation of the directory, or removing uses of the vulnerable method.

References

Published by the National Vulnerability Database Dec 10, 2020
Reviewed Mar 25, 2021
Published to the GitHub Advisory Database Mar 25, 2021
Last updated Nov 9, 2023

Severity

Low

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

EPSS score

0.060%
(26th percentile)

CVE ID

CVE-2020-8908

GHSA ID

GHSA-5mg8-w23w-74h3

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.