CVE-2023-2976: Use of temporary directory for file creation in `FileBackedOutputStream` in Guava

Published Jun 14, 2023
·
Updated

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.

Other sources

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, we recommend using version 32.0.1 as version 32.0.0 breaks some functionality under Windows.

Affected Software

11 affected componentsFixes available
Google Guava<32.0.0
maven/com.google.guava:guava>=1.0<32.0.0-android
32.0.0-android
IBM Engineering Requirements Management DOORS and DOORS Web Access<=9.7.2.1 - 9.7.2.11
IBM Engineering Requirements Management DOORS and DOORS Web Access<=9.6.1.1 - 9.6.1.13
redhat/guava<32.0.0
32.0.0
debian/guava-libraries<=31.1-1
32.0.1-1
ubuntu/guava-libraries*
ubuntu/guava-libraries*
ubuntu/guava-libraries*
ubuntu/guava-libraries*
ubuntu/guava-libraries<29.0-6ubuntu0.1~esm1
29.0-6ubuntu0.1~esm1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/com.google.guava:guava to a version that resolves this vulnerability.

    Fixed in 32.0.0-android
  2. Upgrade

    Upgrade redhat/guava to a version that resolves this vulnerability.

    Fixed in 32.0.0
  3. Upgrade

    Upgrade debian/guava-libraries to a version that resolves this vulnerability.

    Fixed in 32.0.1-1
  4. Upgrade

    Upgrade ubuntu/guava-libraries to a version that resolves this vulnerability.

    Fixed in 29.0-6ubuntu0.1~esm1
  5. Upgrade

    Upgrade google/guava to a version that resolves this vulnerability.

    Fixed in 32.0.1
  6. Compensating control

    Mitigate the vulnerability affecting FileBackedOutputStream by avoiding use of Java's default temporary directory for file creation (on Unix systems and Android Ice Cream Sandwich, versions 1.0 to 31.1) so other users/apps with access to that default temp directory cannot access the created files.

Event History

Jun 14, 2023
CVE Published
via MITRE·05:36 PM
Data Sourced
via MITRE·05:36 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·06:15 PM
DescriptionSeverityAffected Software
Data Sourced
06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
06:30 PM
Oct 5, 2023
Updated
via IBM·12:00 AM
Affected Software
Oct 24, 2023
Updated
via IBM·12:00 AM
Affected Software
Nov 9, 2023
Advisory Published
06:41 PM
Jan 2, 2024
Data Sourced
via Red Hat·04:13 PM
DescriptionSeverityAffected Software
Feb 13, 2024
Data Sourced
via NVD·07:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·07:15 PM
Affected Software
Data Sourced
via GitHub·09:49 PM
DescriptionSeverityWeaknessAffected Software
Mar 14, 2024
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Updated
via IBM·12:00 AM
Affected Software
Jun 27, 2024
Updated
via IBM·12:00 AM
Affected Software
Feb 13, 2025
Updated
via NVD·05:16 PM
RemedyDescriptionAffected Software
Feb 20, 2025
Updated
via IBM·12:00 AM
DescriptionAffected Software
Mar 14, 2025
Updated
via IBM·12:00 AM
Affected Software
Apr 3, 2025
Updated
via IBM·12:00 AM
Affected Software
Aug 19, 2025
Updated
via IBM·12:00 AM
Affected Software
Nov 3, 2025
Updated
via MITRE·09:47 PM
Description
Updated
via NVD·10:16 PM
Affected Software
Nov 4, 2025
Updated
via GitHub·04:44 PM
Description
Feb 9, 2026
Updated
via IBM·12:00 AM
Affected Software
Feb 25, 2026
Updated
via NVD·06:16 PM
SeverityWeakness
Jun 17, 2026
Updated
via NVD·05:53 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 19, 2026
Updated
via IBM·12:00 AM
Affected Software
Jun 24, 2026
Updated
via IBM·12:00 AM
Affected Software
Jul 6, 2026
Updated
via IBM·12:00 AM
Affected Software
Nov 26, 2026
Updated
via OSV·01:00 PM
Affected Software
Nov 27, 2026
Updated
via OSV·04:30 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2023-2976?

CVE-2023-2976 is a vulnerability that allows other users and apps on Unix systems and Android Ice Cream Sandwich to access files created in Java's default temporary directory in FileBackedOutputStream in Google Guava versions 1.0 to 31.1.

2

What is the severity of CVE-2023-2976?

The severity of CVE-2023-2976 is high with a severity value of 7.1.

3

How does CVE-2023-2976 affect affected software?

CVE-2023-2976 affects Google Guava versions 1.0 to 31.1 on Unix systems and Android Ice Cream Sandwich.

4

How can I fix CVE-2023-2976?

To fix CVE-2023-2976, it is recommended to upgrade to Google Guava version 32.0.0 or higher.

5

What are the references for CVE-2023-2976?

The references for CVE-2023-2976 are: [NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-2976), [GitHub Issue 2575](https://github.com/google/guava/issues/2575), [GitHub Issue 6532](https://github.com/google/guava/issues/6532).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203