CVE-2023-2976

Publication date 14 June 2023

Last updated 26 November 2026


Ubuntu priority

CVSS 3 severity score

5.5 · Medium

Score breakdown

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

Read the notes from the security team

Status

Package Ubuntu Release Status
guava-libraries 26.10 stonking
Not affected
26.04 LTS resolute
Not affected
25.10 questing
Not affected
25.04 plucky
Not affected
24.10 oracular
Not affected
24.04 LTS noble
Not affected
23.10 mantic Ignored end of life, was needs-triage
23.04 lunar Ignored end of life, was needs-triage
22.10 kinetic Ignored end of life, was needs-triage
22.04 LTS jammy
Fixed in 29.0-6ubuntu0.1~esm1
20.04 LTS focal
Vulnerable
18.04 LTS bionic
Vulnerable
16.04 LTS xenial
Vulnerable
14.04 LTS trusty
Vulnerable

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Notes


pfsmorigo

CVE-2023-2976 deferred for jammy (29.0): upstream fix (feb83a1) introduces TempFileCreator and IgnoreJRERequirement as new classes and heavily restructures FileBackedOutputStream and Files.createTempDir(). The 29.0 codebase differs significantly from the 31.1+ target of the upstream commit, making a direct backport or context adjustment infeasible. Manual re-implementation carries high regression risk.

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
guava-libraries

Severity score breakdown

CVSS version: CVSS v3.0

Base score 5.5 · Medium

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


Access our resources on patching vulnerabilities