GitHub Advisoryadvisory · Maven

GHSA-7g45-4rm6-3mm3 Guava vulnerable to insecure use of temporary directory

MEDIUM Published 2023-06-14 Modified 2025-11-04 Official page ↗
Aliases
CVE-2023-2976
Ecosystem
Maven
Packages
com.google.guava:guava
Severity
Moderate
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-379, CWE-552
Reviewed
2023-06-14

Affected packages

• Maven com.google.guava:guava: >= 1.0, < 32.0.0-android → fixed in 32.0.0-android

Description

Use of Java's default temporary directory for file creation in `FileBackedOutputStream` in Google Guava versions 1.0 to 31.1 on Unix systems and Android Ice Cream Sandwich allows other users and apps on the machine with access to the default Java temporary directory to be able to access the files created by the class. Even though the security vulnerability is fixed in version 32.0.0, maintainers recommend using version 32.0.1 as version 32.0.0 breaks some functionality under Windows.

Related

Alias · CVE (1)

  • CVE-2023-2976 Use of Java's default temporary directory for file creation in `FileBackedOutputStream` in Google Guava versions 1.0 to 31.1 on Unix… vulnerability

Weakness · CWE (2)

  • CWE-379 Creation of Temporary File in Directory with Insecure Permissions weakness
  • CWE-552 Files or Directories Accessible to External Parties weakness

References