CVE catalog

CVE-2020-8908

guava-libraries: CVE-2020-8908

[CVE catalog]

Severity
Medium · CVSS 4CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.92% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianguava-librariessid33.7.1-1fixed
Debianguava-librariesforky33.7.1-1fixed
Debianguava-librariestrixie32.0.1-1fixed
Debianguava-librariesbookworm31.1-1vulnerable
Suseguavamanager server module 4.332.0.1-150400.3.3.1fixed
Suseguavalinux enterprise module for development tools 15 sp432.0.1-150200.3.7.1fixed
Suseguavalinux enterprise module for development tools 15 sp532.0.1-150200.3.7.1fixed
Suseguavalinux enterprise real time 15 sp332.0.1-150200.3.7.1fixed
Opensuseguavaleap 15.432.0.1-150200.3.7.1fixed
Opensuseguavaleap 15.532.0.1-150200.3.7.1fixed
Opensuseguavatumbleweed30.1.1-1.2fixed
Ubuntuguava-libraries14.0414.0.1-1vulnerable
Ubuntuguava-libraries14.0415.0-2ubuntu1vulnerable
Ubuntuguava-libraries16.0418.0-4ubuntu1vulnerable
Ubuntuguava-libraries16.0419.0-1vulnerable
Ubuntuguava-libraries18.0419.0-1vulnerable
Ubuntuguava-libraries20.0419.0-1vulnerable
Ubuntuguava-libraries22.0429.0-6vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianguava-librariessourcesid32.0.1-1not yet assignedNot reported[1038979]
Debianguava-librariessourceforky32.0.1-1not yet assignedNot reported[1038979]
Debianguava-librariessourcetrixie32.0.1-1not yet assignedNot reported[1038979]
Debianguava-librariessourcebookworm(unfixed)not yet assignedNot reported[1038979]
Suseguavarpmmanager server module 4.332.0.1-150400.3.3.1Not reportedSUSE-SU-2024:1138-1Not reported
Suseguavarpmlinux enterprise module for development tools 15 sp432.0.1-150200.3.7.1Not reportedSUSE-SU-2023:3090-1Not reported
Suseguavarpmlinux enterprise module for development tools 15 sp532.0.1-150200.3.7.1Not reportedSUSE-SU-2023:3090-1Not reported
Suseguavarpmlinux enterprise real time 15 sp332.0.1-150200.3.7.1Not reportedSUSE-SU-2023:3090-1Not reported
Opensuseguavarpmleap 15.432.0.1-150200.3.7.1Not reportedSUSE-SU-2023:3090-1Not reported
Opensuseguavarpmleap 15.532.0.1-150200.3.7.1Not reportedSUSE-SU-2023:3090-1Not reported
Opensuseguavarpmtumbleweed30.1.1-1.2Not reportedOPENSUSE-SU-2024:10835-1Not reported

[Debian bug #1038979]

Notes

[bookworm] guava-libraries: Minor issue, mitigated by kernel tmp hardening

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [libguava-java]Unknown

    Source package: [guava-libraries]

    Details (2)
    • 31.1-1 · all · bookworm

      Affected

      dsa · guava-libraries · debian · bookworm; dsa · guava-libraries · debian · 12

    • 31.1-1 · all · bookworm

      Affected

      dsa · guava-libraries · debian · bookworm; dsa · guava-libraries · debian · 12

  • Source package: [guava-libraries]

    Details (2)
    • 31.1-1 · all · bookworm

      Affected

      dsa · guava-libraries · debian · bookworm; dsa · guava-libraries · debian · 12

    • 31.1-1 · all · bookworm

      Affected

      dsa · guava-libraries · debian · bookworm; dsa · guava-libraries · debian · 12

[Debian 13 (Trixie)]

  • [libguava-java]Unknown

    Source package: [guava-libraries]

    Details (2)
    • 32.0.1-1 · all · trixie

      Fixed · Fixed: 32.0.1-1

      dsa · guava-libraries · debian · 13

    • 32.0.1-1 · all · trixie

      Fixed · Fixed: 32.0.1-1

      dsa · guava-libraries · debian · 13

  • Source package: [guava-libraries]

    Details (2)
    • 32.0.1-1 · all · trixie

      Fixed · Fixed: 32.0.1-1

      dsa · guava-libraries · debian · 13

    • 32.0.1-1 · all · trixie

      Fixed · Fixed: 32.0.1-1

      dsa · guava-libraries · debian · 13

[openSUSE Tumbleweed]

  • [guava]Unknown

    Source package: [guava]

    Details (1)
    • 33.4.8-1.5 · noarch · tumbleweed

      Fixed · Fixed: 30.1.1-1.2

      dsa · guava · opensuse · tumbleweed

  • [guava-javadoc]Unknown

    Source package: [guava]

    Details (1)
    • 33.4.8-1.5 · noarch · tumbleweed

      Unknown · Fixed: 30.1.1-1.2

      Version impact unknown

      dsa · guava · opensuse · tumbleweed

  • [guava-testlib]Unknown

    Source package: [guava]

    Details (1)
    • 33.4.8-1.5 · noarch · tumbleweed

      Unknown · Fixed: 30.1.1-1.2

      Version impact unknown

      dsa · guava · opensuse · tumbleweed

Observed:

References