Low

Information Disclosure in Guava

  • Disclosed: 25.03.2021
  • Updated: 11.10.2026 13:19

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 software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) com.google.guava:guava < 32.0.0-android 32.0.0-android

References

CVSS score 3.3/10
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness (CWE)
CWE-173, CWE-200, CWE-378, CWE-732
Platform
Java / Kotlin (Maven)
Package
com.google.guava:guava
Disclosed
25.03.2021
Updated
11.10.2026 13:19

Sources and licenses

OSV / GitHub Advisory Database - GHSA-5mg8-w23w-74h3 - CC BY 4.0

Vulnerability history: com.google.guava:guava

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
3
First → latest
06.2020 06.2023
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Medium 2
  • Low 1

Disclosures per year

  1. 2020: 1
  2. 2021: 1
  3. 2022: 0
  4. 2023: 1
  5. 2024: 0
  6. 2025: 0
  7. 2026: 0
  1. Medium · 5.5 CVE-2023-2976 >= 1.0, < 32.0.0-android 32.0.0-android
  2. Information Disclosure in Guava this entry
    Low · 3.3 CVE-2020-8908 < 32.0.0-android 32.0.0-android
  3. Medium · 5.9 CVE-2018-10237 >= 11.0, < 24.1.1-android 24.1.1-android

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.