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
Related
Published
2020-12-10T23:15:00Z
Modified
2024-12-18T16:38:26Z
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 CVSS Calculator
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:Pro:14.04:LTS / guava-libraries

Package

Name
guava-libraries
Purl
pkg:deb/ubuntu/guava-libraries?arch=src?distro=esm-infra-legacy/trusty

Affected ranges

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

Affected versions

14.*

14.0.1-1

15.*

15.0-2ubuntu1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:16.04:LTS / guava-libraries

Package

Name
guava-libraries
Purl
pkg:deb/ubuntu/guava-libraries?arch=src?distro=esm-apps/xenial

Affected ranges

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

Affected versions

18.*

18.0-4ubuntu1

19.*

19.0-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / guava-libraries

Package

Name
guava-libraries
Purl
pkg:deb/ubuntu/guava-libraries?arch=src?distro=esm-apps/bionic

Affected ranges

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

Affected versions

19.*

19.0-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / guava-libraries

Package

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

Affected ranges

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

Affected versions

19.*

19.0-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / guava-libraries

Package

Name
guava-libraries
Purl
pkg:deb/ubuntu/guava-libraries?arch=src?distro=jammy

Affected ranges

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

Affected versions

29.*

29.0-6

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / guava-libraries

Package

Name
guava-libraries
Purl
pkg:deb/ubuntu/guava-libraries?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
32.0.1-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "32.0.1-1",
            "binary_name": "libguava-java"
        },
        {
            "binary_version": "32.0.1-1",
            "binary_name": "libguava-testlib-java"
        }
    ]
}

Ubuntu:24.04:LTS / guava-libraries

Package

Name
guava-libraries
Purl
pkg:deb/ubuntu/guava-libraries?arch=src?distro=noble

Affected ranges

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

Affected versions

32.*

32.0.1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}