ADVISORIES

GitHub Advisory Database

GHSA-5mg8-w23w-74h3

Information Disclosure in Guava

Details

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.

Affected packages

EcosystemPackageAffected versions
Mavencom.google.guava:guava
All versions before 32.0.0-android (fixed in 32.0.0-android)

References