LowGHSA-5mg8-w23w-74h3CVE-2020-8908SNYK-JAVA-COMGOOGLEGUAVA-1015415

Information Disclosure in Guava

Published 25 Mar 2021 · Updated 10 Sept 2026

Is your project on an affected com.google.guava:guava?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<32.0.0-android
Fixed in
32.0.0-android
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=com.google.guava:guava -DdepVersion=32.0.0-android -DforceVersion=true

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.

Is GHSA-5mg8-w23w-74h3 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected com.google.guava:guava, and gives you the command that fixes it.

More advisories for com.google.guava:guava

  • HighCVE-2026-102554Google Guava: CompactHashMap/CompactHashSet/MapMakerInternalMap deserialization triggers uncontrolled memory allocation · 27 Oct 2026
  • MediumCVE-2023-2976Guava vulnerable to insecure use of temporary directory · 14 Jun 2023
  • MediumCVE-2018-10237Denial of Service in Google Guava · 15 Jun 2020
com.google.guava:guava security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.