CVE-2023-2976Use of temporary directory for file creation in `FileBackedOutputStream` in Guava
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.
What to do
Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | guava-libraries | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | guava-libraries | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | guava-libraries | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | guava-libraries | Fix pending | UBUNTU-CVE-2023-2976 | |
| Ubuntu 20.04 | guava-libraries | Fix pending | UBUNTU-CVE-2023-2976 | |
| Ubuntu 18.04 | guava-libraries | Fix pending | UBUNTU-CVE-2023-2976 | |
| Ubuntu 16.04 | guava-libraries | Fix pending | UBUNTU-CVE-2023-2976 | |
| Ubuntu 14.04 | guava-libraries | Fix pending | UBUNTU-CVE-2023-2976 | |
| Debian 14 | guava-libraries | Fixed | 32.0.1-1 | DEBIAN-CVE-2023-2976 |
| Debian 13 | guava-libraries | Fixed | 32.0.1-1 | DEBIAN-CVE-2023-2976 |
| Debian 12 | guava-libraries | Fix pending | DEBIAN-CVE-2023-2976 | |
| Red Hat Enterprise Linux 9 | guava | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | guava | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | guava-javadoc | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | guava-testlib | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | guava | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | guava-javadoc | Will not fix Out of support scope | ||
| Maven library | com.google.guava:guava | Fixed | 32.0.0-android | GHSA-7g45-4rm6-3mm3 |
What the vendor says
As published in the CVE record by Google, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Google Guava: affected: 1.0 to before 32.0.0; fixed in
32.0.0
References
- https://github.com/google/guava/issues/2575
- https://security.netapp.com/advisory/ntap-20230818-0008/
- https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-01006.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.