CVE-2020-8908 json
Temp directory permission issue in Guava
published 2020-12-10 5 y ago modified 2026-11-02 6 d ago also GHSA-5mg8-w23w-74h3 , EUVD-2021-0611
- cvss
- 3.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 60%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven com.google.guava:guava 32.0.0-android
- Google LLC Guava 32.0
- guava-libraries Debian 14, Debian 13 32.0.1-1
debian advisories DEBIAN-CVE-2020-8908
- foreman satellite capsule 6.10, satellite 6.10 2.5.2.17-2.el7sat
- candlepin satellite 6.10 4.0.9-1.el7sat
- satellite satellite capsule 6.10, satellite 6.10 6.10.0-3.el7sat
- python-ecdsa satellite capsule 6.10, satellite 6.10 0.13.3-2.el7pc
- python-pyyaml satellite capsule 6.10, satellite 6.10 5.4.1-1.el7pc
- python3-ecdsa satellite capsule 6.10, satellite 6.10 0.13.3-2.el7pc
- python-aiohttp satellite capsule 6.10, satellite 6.10 3.7.4-1.el7pc
- python-urllib3 satellite capsule 6.10, satellite 6.10 1.26.5-1.el7pc
red hat advisories RHSA-2021:4702RHSA-2021:0873RHSA-2021:0874RHSA-2021:0872
- guava Manager Server Module 4.3 32.0.1-150400.3.3.1
- guava SLE Real Time 15 SP3, SLE Module for Development Tools 15 SP5, SLE Module for Development Tools 15 SP4 +2 more 32.0.1-150200.3.7.1
suse advisories SUSE-SU-2024:1138-1SUSE-SU-2023:3090-1
- guava openSUSE Tumbleweed 30.1.1-1.2
opensuse advisories openSUSE-SU-2024:10835-1
- github.com/google/guava@fec0dbc commit
- github.com/google/guava@feb83a1 commit
- github.com/google/guava/issues/4011 advisory
- snyk.io/vuln/SNYK-JAVA-COMGOOGLEGUAVA-1015415 advisory
- oracle.com/security-alerts/cpuApr2021.html advisory
- oracle.com//security-alerts/cpujul2021.html advisory
- oracle.com/security-alerts/cpuoct2021.html advisory
- oracle.com/security-alerts/cpuapr2022.html advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-8908 updated cvss 3.3
guava: local information disclosure via temporary directory created with unsafe permissions
-
Red Hat build of Quarkus guavaaffected: no fix available “Fix deferred”
-
Red Hat Enterprise Linux 7 guava, guava-javadocaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 guava, guava20, guava-javadoc, guava-testlib, guava20-javadoc, guava20-testlib Red Hat Fuse 7 guava Red Hat Integration Camel K 1 guavaaffected: no fix available “Fix deferred”
-
Red Hat Integration Camel Quarkus 1 guavaaffected: no fix available
-
Red Hat Integration Service Registry guavaaffected: no fix available “Fix deferred”
-
Red Hat JBoss A-MQ 6 guava Red Hat JBoss BRMS 5 guava Red Hat JBoss BRMS 6 guava Red Hat JBoss Data Grid 7 guava Red Hat JBoss Data Virtualization 6 guava Red Hat JBoss Enterprise Application Platform 6 guavaaffected: no fix planned “Out of support scope”
-
Red Hat JBoss Enterprise Application Platform Expansion Pack guavaaffected: no fix available
-
Red Hat JBoss Fuse 6 guava Red Hat JBoss Fuse Service Works 6 guava Red Hat JBoss Operations Network 3 guavaaffected: no fix planned “Out of support scope”
show 16 moreshow fewer
-
Red Hat OpenShift Application Runtimes guavaaffected: no fix available
-
Red Hat OpenShift Container Platform 3.11 jenkins, openshift3/ose-logging-elasticsearch5 Red Hat OpenShift Container Platform 4 jenkins, openshift4/ose-metering-hive, openshift4/ose-metering-hadoop, openshift4/ose-metering-presto, openshift4/ose-logging-elasticsearch5, openshift4/ose-logging-elasticsearch6affected: no fix available “Fix deferred”
-
Red Hat OpenStack Platform 10 (Newton) opendaylightaffected: no fix planned “Out of support scope”
-
Red Hat OpenStack Platform 13 (Queens) opendaylightaffected: no fix planned “Will not fix”
-
Red Hat Software Collections rh-maven36-guava, rh-maven36-guava-javadoc, rh-maven36-guava-testlibaffected: no fix available “Fix deferred”
-
Red Hat AMQ 7.8.1fixed: vendor fix RHSA-2021:0417
-
Red Hat EAP-XP via EAP 7.3.x basefixed: vendor fix RHSA-2021:2210
-
Red Hat JBoss EAP 7.3 for BaseOS-8 eap7-guava 30.1.0-1.redhat_00001.1.el8eap, eap7-wildfly 7.3.6-1.GA_redhat_00002.1.el8eap, eap7-bouncycastle 1.68.0-1.redhat_00001.1.el8eap, eap7-undertow 2.0.34-1.SP1_redhat_00001.1.el8eap, eap7-narayana 5.9.11-1.Final_redhat_00001.1.el8eap, eap7-activemq-artemis 2.9.0-9.redhat_00019.1.el8eap, +75 morefixed: vendor fix RHSA-2021:0874
-
Red Hat JBoss EAP 7.3 for RHEL 6 Server eap7-guava 30.1.0-1.redhat_00001.1.el6eap, eap7-wildfly 7.3.6-1.GA_redhat_00002.1.el6eap, eap7-bouncycastle 1.68.0-1.redhat_00001.1.el6eap, eap7-undertow 2.0.34-1.SP1_redhat_00001.1.el6eap, eap7-narayana 5.9.11-1.Final_redhat_00001.1.el6eap, eap7-activemq-artemis 2.9.0-9.redhat_00019.1.el6eap, +75 morefixed: vendor fix RHSA-2021:0872
-
Red Hat JBoss EAP 7.3 for RHEL 7 Server eap7-guava 30.1.0-1.redhat_00001.1.el7eap, eap7-wildfly 7.3.6-1.GA_redhat_00002.1.el7eap, eap7-bouncycastle 1.68.0-1.redhat_00001.1.el7eap, eap7-undertow 2.0.34-1.SP1_redhat_00001.1.el7eap, eap7-narayana 5.9.11-1.Final_redhat_00001.1.el7eap, eap7-activemq-artemis 2.9.0-9.redhat_00019.1.el7eap, +77 morefixed: vendor fix RHSA-2021:0873
-
Red Hat JBoss Enterprise Application Platform 7fixed: vendor fix RHSA-2021:0885
-
Red Hat Satellite 6.10 candlepin 4.0.9-1.el7satfixed: vendor fix RHSA-2021:4702
-
Red Hat Single Sign-On 7.4.6fixed: vendor fix RHSA-2021:0974
-
Red Hat RHINT Camel-K 1.6.4fixed: vendor fix RHSA-2022:1029
-
Red Hat RHINT Camel-Q 2.2.1fixed: vendor fix RHSA-2022:1013
-
Red Hat Decision Manager 7 guava Red Hat Process Automation 7 guava Red Hat Satellite 6.10 tfm 7.0-1.el7sat, gofer 2.12.5-7.el7sat, katello 4.1.1-2.el7sat, libsolv 0.7.20-1.el7pc, receptor 0.6.4-2.el7ar, libcomps 0.1.15-1.el7pc, +581 more Red Hat Satellite Capsule 6.10 tfm 7.0-1.el7sat, katello 4.1.1-2.el7sat, libsolv 0.7.20-1.el7pc, libcomps 0.1.15-1.el7pc, python-rq 1.8.1-1.el7pc, python-idna 2.10-1.el7pc, +355 more Red Hat streams for Apache Kafka guavanot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 6 d ago
Exploit prediction
0.92% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- snyk.io https://snyk.io/vuln/SNYK-JAVA-COMGOOGLEGUAVA-1015415 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | com.google.guava:guava | <32.0.0-android |
32.0.0-android |
Affected products
- Google LLC Guava
Classification
References
-
github.com
/google/guava/commit/fec0dbc4634006a6162cfd4d0d09c962073ddf40
web, patch, third-party-advisory
-
github.com
/google/guava/issues/4011
web, issue-tracking, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JAVA-COMGOOGLEGUAVA-1015415
web, exploit, patch, third-party-advisory
-
oracle.com
/security-alerts/cpuApr2021.html
web, patch, third-party-advisory
-
oracle.com
//security-alerts/cpujul2021.html
web, patch, third-party-advisory
-
oracle.com
/security-alerts/cpuoct2021.html
web, patch, third-party-advisory
-
github.com
/google/guava/commit/feb83a1c8fd2e7670b244d5afd23cba5aca43284
web
-
oracle.com
/security-alerts/cpuapr2022.html
web, patch, third-party-advisory
-
lists.apache.org
/thread.html/r68d86f4b06c808204f62bcb254fcb5b0432528ee8d37a07ef4bc8222%40%3Ccommits.ws.apache.org%3E
mailing-list, third-party-advisory
-
lists.apache.org
/thread.html/r215b3d50f56faeb2f9383505f3e62faa9f549bb23e8a9848b78a968e%40%3Ccommits.ws.apache.org%3E
mailing-list, third-party-advisory
-
lists.apache.org
/thread.html/rb8c0f1b7589864396690fe42a91a71dea9412e86eec66dc85bbacaaf%40%3Ccommits.cxf.apache.org%3E
mailing-list, web, third-party-advisory
-
lists.apache.org
/thread.html/r4776f62dfae4a0006658542f43034a7fc199350e35a66d4e18164ee6%40%3Ccommits.cxf.apache.org%3E
mailing-list, third-party-advisory
-
lists.apache.org
/thread.html/rbc7642b9800249553f13457e46b813bea1aec99d2bc9106510e00ff3%40%3Ctorque-dev.db.apache.org%3E
web, third-party-advisory
-
lists.apache.org
/thread.html/r841c5e14e1b55281523ebcde661ece00b38a0569e00ef5e12bd5f6ba%40%3Cissues.maven.apache.org%3E
mailing-list, third-party-advisory
-
lists.apache.org
/thread.html/rc2dbc4633a6eea1fcbce6831876cfa17b73759a98c65326d1896cb1a%40%3Ctorque-dev.db.apache.org%3E
mailing-list, web, third-party-advisory
-
lists.apache.org
/thread.html/rd5d58088812cf8e677d99b07f73c654014c524c94e7fedbdee047604%40%3Ctorque-dev.db.apache.org%3E
mailing-list, web, third-party-advisory
-
lists.apache.org
/thread.html/r3c3b33ee5bef0c67391d27a97cbfd89d44f328cf072b601b58d4e748%40%3Ccommits.pulsar.apache.org%3E
mailing-list, third-party-advisory
-
lists.apache.org
/thread.html/rfc27e2727a20a574f39273e0432aa97486a332f9b3068f6ac1346594%40%3Cdev.myfaces.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/rd01f5ff0164c468ec7abc96ff7646cea3cce6378da2e4aa29c6bcb95%40%3Cgithub.arrow.apache.org%3E
mailing-list, web, third-party-advisory
-
lists.apache.org
/thread.html/r2fe45d96eea8434b91592ca08109118f6308d60f6d0e21d52438cfb4%40%3Cdev.drill.apache.org%3E
mailing-list, third-party-advisory
-
lists.apache.org
/thread.html/r07ed3e4417ad043a27bee7bb33322e9bfc7d7e6d1719b8e3dfd95c14%40%3Cdev.drill.apache.org%3E
mailing-list, third-party-advisory
-
lists.apache.org
/thread.html/r6874dfe26eefc41b7c9a5e4a0487846fc4accf8c78ff948b24a1104a%40%3Cdev.drill.apache.org%3E
mailing-list, third-party-advisory
-
lists.apache.org
/thread.html/r161b87f8037bbaff400194a63cd2016c9a69f5949f06dcc79beeab54%40%3Cdev.drill.apache.org%3E
mailing-list, third-party-advisory
-
lists.apache.org
/thread.html/ra7ab308481ee729f998691e8e3e02e93b1dedfc98f6b1cd3d86923b3%40%3Cyarn-issues.hadoop.apache.org%3E
mailing-list, third-party-advisory
-
lists.apache.org
/thread.html/rf00b688ffa620c990597f829ff85fdbba8bf73ee7bfb34783e1f0d4e%40%3Cyarn-dev.hadoop.apache.org%3E
mailing-list, web, third-party-advisory
-
lists.apache.org
/thread.html/r58a8775205ab1839dba43054b09a9ab3b25b423a4170b2413c4067ac%40%3Ccommon-issues.hadoop.apache.org%3E
mailing-list, third-party-advisory
-
lists.apache.org
/thread.html/re120f6b3d2f8222121080342c5801fdafca2f5188ceeb3b49c8a1d27%40%3Cyarn-issues.hadoop.apache.org%3E
mailing-list, third-party-advisory
-
lists.apache.org
/thread.html/r49549a8322f62cd3acfa4490d25bfba0be04f3f9ff4d14fe36199d27%40%3Cyarn-dev.hadoop.apache.org%3E
mailing-list, third-party-advisory
-
lists.apache.org
/thread.html/rcafc3a637d82bdc9a24036b2ddcad1e519dd0e6f848fcc3d606fd78f%40%3Cdev.hive.apache.org%3E
mailing-list, web, third-party-advisory
-
lists.apache.org
/thread.html/r007add131977f4f576c232b25e024249a3d16f66aad14a4b52819d21%40%3Ccommon-issues.hadoop.apache.org%3E
mailing-list, third-party-advisory
-
lists.apache.org
/thread.html/reebbd63c25bc1a946caa419cec2be78079f8449d1af48e52d47c9e85%40%3Cissues.geode.apache.org%3E
mailing-list, web, third-party-advisory
-
lists.apache.org
/thread.html/r79e47ed555bdb1180e528420a7a2bb898541367a29a3bc6bbf0baf2c%40%3Cissues.hive.apache.org%3E
mailing-list, third-party-advisory
-
lists.apache.org
/thread.html/rd2704306ec729ccac726e50339b8a8f079515cc29ccb77713b16e7c5%40%3Cissues.hive.apache.org%3E
mailing-list, web, third-party-advisory
-
lists.apache.org
/thread.html/r5d61b98ceb7bba939a651de5900dbd67be3817db6bfcc41c6e04e199%40%3Cyarn-issues.hadoop.apache.org%3E
mailing-list, third-party-advisory
-
lists.apache.org
/thread.html/r7b0e81d8367264d6cad98766a469d64d11248eb654417809bfdacf09%40%3Cyarn-issues.hadoop.apache.org%3E
mailing-list, third-party-advisory
-
lists.apache.org
/thread.html/rb2364f4cf4d274eab5a7ecfaf64bf575cedf8b0173551997c749d322%40%3Cgitbox.hive.apache.org%3E
mailing-list, web, third-party-advisory
-
lists.apache.org
/thread.html/r294be9d31c0312d2c0837087204b5d4bf49d0552890e6eec716fa6a6%40%3Cyarn-issues.hadoop.apache.org%3E
mailing-list, third-party-advisory
-
lists.apache.org
/thread.html/rf9f0fa84b8ae1a285f0210bafec6de2a9eba083007d04640b82aa625%40%3Cissues.geode.apache.org%3E
mailing-list, web, third-party-advisory
-
lists.apache.org
/thread.html/r5b3d93dfdfb7708e796e8762ab40edbde8ff8add48aba53e5ea26f44%40%3Cissues.geode.apache.org%3E
mailing-list, third-party-advisory
-
lists.apache.org
/thread.html/r3dd8881de891598d622227e9840dd7c2ef1d08abbb49e9690c7ae1bc%40%3Cissues.geode.apache.org%3E
mailing-list, third-party-advisory
-
lists.apache.org
/thread.html/rc607bc52f3507b8b9c28c6a747c3122f51ac24afe80af2a670785b97%40%3Cissues.geode.apache.org%3E
mailing-list, web, third-party-advisory
-
lists.apache.org
/thread.html/rd7e12d56d49d73e2b8549694974b07561b79b05455f7f781954231bf%40%3Cdev.pig.apache.org%3E
mailing-list, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-8908
advisory
-
github.com
/google/guava/issues/4011#issuecomment-1578991974
web
-
lists.apache.org
/thread.html/rd5d58088812cf8e677d99b07f73c654014c524c94e7fedbdee047604@%3Ctorque-dev.db.apache.org%3E
web
-
lists.apache.org
/thread.html/rd2704306ec729ccac726e50339b8a8f079515cc29ccb77713b16e7c5@%3Cissues.hive.apache.org%3E
web
-
lists.apache.org
/thread.html/rd01f5ff0164c468ec7abc96ff7646cea3cce6378da2e4aa29c6bcb95@%3Cgithub.arrow.apache.org%3E
web
-
lists.apache.org
/thread.html/rcafc3a637d82bdc9a24036b2ddcad1e519dd0e6f848fcc3d606fd78f@%3Cdev.hive.apache.org%3E
web
-
lists.apache.org
/thread.html/rc607bc52f3507b8b9c28c6a747c3122f51ac24afe80af2a670785b97@%3Cissues.geode.apache.org%3E
web
-
lists.apache.org
/thread.html/rc2dbc4633a6eea1fcbce6831876cfa17b73759a98c65326d1896cb1a@%3Ctorque-dev.db.apache.org%3E
web
-
lists.apache.org
/thread.html/rbc7642b9800249553f13457e46b813bea1aec99d2bc9106510e00ff3@%3Ctorque-dev.db.apache.org%3E
web
-
lists.apache.org
/thread.html/rb8c0f1b7589864396690fe42a91a71dea9412e86eec66dc85bbacaaf@%3Ccommits.cxf.apache.org%3E
web
-
lists.apache.org
/thread.html/rb2364f4cf4d274eab5a7ecfaf64bf575cedf8b0173551997c749d322@%3Cgitbox.hive.apache.org%3E
web
-
lists.apache.org
/thread.html/ra7ab308481ee729f998691e8e3e02e93b1dedfc98f6b1cd3d86923b3@%3Cyarn-issues.hadoop.apache.org%3E
web
-
oracle.com
/security-alerts/cpujan2022.html
web
-
security.netapp.com
/advisory/ntap-20220210-0003
web
-
lists.apache.org
/thread.html/rfc27e2727a20a574f39273e0432aa97486a332f9b3068f6ac1346594@%3Cdev.myfaces.apache.org%3E
web
-
lists.apache.org
/thread.html/rf9f0fa84b8ae1a285f0210bafec6de2a9eba083007d04640b82aa625@%3Cissues.geode.apache.org%3E
web
-
lists.apache.org
/thread.html/rf00b688ffa620c990597f829ff85fdbba8bf73ee7bfb34783e1f0d4e@%3Cyarn-dev.hadoop.apache.org%3E
web
-
lists.apache.org
/thread.html/reebbd63c25bc1a946caa419cec2be78079f8449d1af48e52d47c9e85@%3Cissues.geode.apache.org%3E
web
Sources
- CVE List CVE-2020-8908
- GitHub Advisory GHSA-5mg8-w23w-74h3
- NVD CVE-2020-8908
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.