cve.bz

CVE-2020-8908

3.3 lowExploit referenceEPSS 0.9%Fix available

Low (3.3). EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in com.google.guava:guava 32.0.0-android.

On this page
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.

Severity

CVSS 3.1

3.3 low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 59th percentile. Scored 2026-11-25. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-732 Incorrect Permission Assignment for Critical Resource
CWE-378 Creation of Temporary File With Insecure Permissions
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-8908 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-8908?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-8908?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-8908 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Google LLC Guavafrom 1.0 before 32.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-5mg8-w23w-74h3Mavencom.google.guava:guava<32.0.0-android32.0.0-android

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12guava-librariesno fix listedDEBIAN-CVE-2020-8908
Debian13, 14guava-libraries32.0.1-1DEBIAN-CVE-2020-8908
Ubuntu14.04:LTS, 16.04:LTS, 18.04:LTS and 2 moreguava-librariesno fix listedUBUNTU-CVE-2020-8908
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-activemq-artemis, eap7-activemq-artemis-ra, eap7-activemq-artemis-cli and 13 more0:2.9.0-9.redhat_00019.1.el6eapRHSA-2021:0872
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-bouncycastle, eap7-bouncycastle-mail, eap7-bouncycastle-pkix and 1 more0:1.68.0-1.redhat_00001.1.el6eapRHSA-2021:0872
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-guava, eap7-guava-libraries0:30.1.0-1.redhat_00001.1.el6eapRHSA-2021:0872
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-guava-failureaccess0:1.0.1-1.redhat_00002.1.el6eapRHSA-2021:0872
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-hal-console0:3.2.13-1.Final_redhat_00001.1.el6eapRHSA-2021:0872
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-ironjacamar, eap7-ironjacamar-jdbc, eap7-ironjacamar-core-api and 6 more0:1.4.27-1.Final_redhat_00001.1.el6eapRHSA-2021:0872
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-jboss-ejb-client0:4.0.39-1.SP1_redhat_00001.1.el6eapRHSA-2021:0872
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-jboss-logmanager0:2.1.18-1.Final_redhat_00001.1.el6eapRHSA-2021:0872
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-jboss-remoting0:5.0.20-2.SP1_redhat_00001.1.el6eapRHSA-2021:0872
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-jboss-server-migration, eap7-jboss-server-migration-cli, eap7-jboss-server-migration-core and 19 more0:1.7.2-5.Final_redhat_00006.1.el6eapRHSA-2021:0872
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-narayana, eap7-narayana-jbossxts, eap7-narayana-jts-idlj and 8 more0:5.9.11-1.Final_redhat_00001.1.el6eapRHSA-2021:0872
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-undertow0:2.0.34-1.SP1_redhat_00001.1.el6eapRHSA-2021:0872
50 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Module for Development Tools 15 SP4, Linux Enterprise Module for Development Tools 15 SP5, Linux Enterprise Real Time 15 SP3guava32.0.1-150200.3.7.1SUSE-SU-2023:3090-1
SUSEManager Server Module 4.3guava32.0.1-150400.3.3.1SUSE-SU-2024:1138-1
openSUSELeap 15.4, Leap 15.5guava32.0.1-150200.3.7.1SUSE-SU-2023:3090-1
openSUSETumbleweedguava30.1.1-1.2openSUSE-SU-2024:10835-1
Azure Linux2guava25.0-7AZL-25952
Azure Linux2guava20no fix listedAZL-66000

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's statement

Red Hat OpenStack Platform's OpenDaylight will not be updated for this flaw because it was deprecated as of OpenStack Platform 14 and is only receiving security fixes for Important and Critical flaws.

ProductPackageStateAdvisory
Red Hat AMQ 7.8.1guavaFixed 2021-02-04RHSA-2021:0417
Red Hat EAP-XP via EAP 7.3.x baseguavaFixed 2021-06-02RHSA-2021:2210
Red Hat JBoss Enterprise Application Platform 7guavaFixed 2021-03-16RHSA-2021:0885
Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 6eap7-activemq-artemis-0:2.9.0-9.redhat_00019.1.el6eapFixed 2021-03-16RHSA-2021:0872
Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 6eap7-bouncycastle-0:1.68.0-1.redhat_00001.1.el6eapFixed 2021-03-16RHSA-2021:0872
Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 6eap7-guava-failureaccess-0:1.0.1-1.redhat_00002.1.el6eapFixed 2021-03-16RHSA-2021:0872
Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 6eap7-guava-libraries-0:30.1.0-1.redhat_00001.1.el6eapFixed 2021-03-16RHSA-2021:0872
Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 6eap7-hal-console-0:3.2.13-1.Final_redhat_00001.1.el6eapFixed 2021-03-16RHSA-2021:0872
Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 6eap7-ironjacamar-0:1.4.27-1.Final_redhat_00001.1.el6eapFixed 2021-03-16RHSA-2021:0872
Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 6eap7-jboss-ejb-client-0:4.0.39-1.SP1_redhat_00001.1.el6eapFixed 2021-03-16RHSA-2021:0872
Red Hat build of QuarkusguavaFix deferred
Red Hat Decision Manager 7guavaNot affected
Red Hat Enterprise Linux 7guavaOut of support scope
Red Hat Enterprise Linux 8javapackages-tools:201801/guava20Fix deferred
Red Hat Enterprise Linux 8maven:3.5/guava20Fix deferred
Red Hat Enterprise Linux 8maven:3.6/guavaFix deferred
Red Hat Fuse 7guavaFix deferred
Red Hat Integration Camel K 1guavaFix deferred
Red Hat Integration Camel Quarkus 1guavaAffected
Red Hat Integration Service RegistryguavaFix deferred
69 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-8908.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-732 (11).

References

Check your stackJSON