Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.google.guava/guava
  4. ›
  5. CVE-2023-2976

CVE-2023-2976: Guava vulnerable to insecure use of temporary directory

June 14, 2023 (updated February 13, 2025)

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.

References

  • github.com/advisories/GHSA-7g45-4rm6-3mm3
  • github.com/google/guava
  • github.com/google/guava/commit/feb83a1c8fd2e7670b244d5afd23cba5aca43284
  • github.com/google/guava/issues/2575
  • github.com/google/guava/issues/6532
  • github.com/google/guava/releases/tag/v32.0.0
  • nvd.nist.gov/vuln/detail/CVE-2023-2976
  • security.netapp.com/advisory/ntap-20230818-0008
  • www.intel.com/content/www/us/en/security-center/advisory/intel-sa-01006.html

Code Behaviors & Features

Detect and mitigate CVE-2023-2976 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.0 before 32.0.0-android

Fixed versions

  • 32.0.0-android

Solution

Upgrade to version 32.0.0-android or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

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

Source file

maven/com.google.guava/guava/CVE-2023-2976.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:14 +0000.