UBUNTU-CVE-2020-8908

Source
https://ubuntu.com/security/CVE-2020-8908
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8908.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2020-8908
Upstream
Downstream
Related
Published
2020-12-10T23:15:00Z
Modified
2026-11-27T04:30:09Z
Severity
  • 3.3 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N (Source: CNA) CVSS Calculator
  • 3.3 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N (Source: NVD) CVSS Calculator
  • Ubuntu - medium (Source: SELF)
Summary
[none]
Details

A temp directory creation vulnerability exists in all versions of Guava, allowing an attacker with access to the machine to potentially access data in a temporary directory created by the Guava API com.google.common.io.Files.createTempDir(). By default, on unix-like systems, the created directory is world-readable (readable by an attacker with access to the system). The method in question has been marked @Deprecated in versions 30.0 and later and should not be used. For Android developers, we recommend choosing a temporary directory API provided by Android, such as context.getCacheDir(). For other Java developers, we recommend migrating to the Java 7 API java.nio.file.Files.createTempDirectory() which explicitly configures permissions of 700, or configuring the Java runtime's java.io.tmpdir system property to point to a location whose permissions are appropriately configured.

References

Affected packages

Ubuntu:14.04:LTS / guava-libraries

Package

Name
guava-libraries
Purl
pkg:deb/ubuntu/guava-libraries?arch=source&distro=trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

14.*
14.0.1-1
15.*
15.0-2ubuntu1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libguava-java",
            "binary_version":  "15.0-2ubuntu1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8908.json"

Ubuntu:16.04:LTS / guava-libraries

Package

Name
guava-libraries
Purl
pkg:deb/ubuntu/guava-libraries?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

18.*
18.0-4ubuntu1
19.*
19.0-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libguava-java",
            "binary_version":  "19.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8908.json"

Ubuntu:18.04:LTS / guava-libraries

Package

Name
guava-libraries
Purl
pkg:deb/ubuntu/guava-libraries?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

19.*
19.0-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libguava-java",
            "binary_version":  "19.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8908.json"

Ubuntu:20.04:LTS / guava-libraries

Package

Name
guava-libraries
Purl
pkg:deb/ubuntu/guava-libraries?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

19.*
19.0-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libguava-java",
            "binary_version":  "19.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8908.json"

Ubuntu:Pro:22.04:LTS / guava-libraries

Package

Name
guava-libraries
Purl
pkg:deb/ubuntu/guava-libraries?arch=source&distro=esm-apps%2Fjammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
29.0-6ubuntu0.1~esm1

Affected versions

29.*
29.0-6

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "libguava-java",
            "binary_version":  "29.0-6ubuntu0.1~esm1"
        },
        {
            "binary_name":  "libguava-testlib-java",
            "binary_version":  "29.0-6ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8908.json"