CVE-2020-8908
CVE-2020-8908 · Temp directory permission issue in Guava
CVSS 3.3 · Low · EPSS 0.9% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- guavaUpdate to 32.0
- guava-libraries Debian 12No fix published
- guava-libraries Debian 13Update to 32.0.1-1
- guava-libraries Debian 14Update to 32.0.1-1
- and 5 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="guava-libraries"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
This page shows selected source facts. See the linked advisories for the complete description and affected versions.
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.
- Published
- Updated
Fixes in distributions
- RHSA-2021:4702 · Red Hat satellite 6.10 el7, Red Hat satellite capsule 6.10 el7 ·
- RHSA-2021:0873 · Red Hat jboss enterprise application platform 7.3 el7 ·
- RHSA-2021:0874 · Red Hat jboss enterprise application platform 7.3 el8 ·
- RHSA-2021:0872 · Red Hat jboss enterprise application platform 7.3 el6 ·
- openSUSE-SU-2024:10835-1 · openSUSE Tumbleweed ·
- SUSE-SU-2024:1138-1 · SUSE Manager Server Module 4.3 ·
- SUSE-SU-2023:3090-1 · openSUSE Leap 15.4, openSUSE Leap 15.5, SUSE Linux Enterprise Module for Development Tools 15 SP4, SUSE Linux Enterprise Module for Development Tools 15 SP5, SUSE Linux Enterprise Real Time 15 SP3 ·
Stack: system
Affected products and versions
guava
- Versions
- ≥ 1.0, < 32.0: Affected (custom)
Update to 32.0
guava-libraries Debian 12
- Versions
- 31.1-1
- 32.0.1-1
- 33.7.1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
guava-libraries Debian 13
- Affected ranges
- ECOSYSTEM: < 32.0.1-1
Update to 32.0.1-1
guava-libraries Debian 14
- Affected ranges
- ECOSYSTEM: < 32.0.1-1
Update to 32.0.1-1
guava-libraries Ubuntu 14.04 LTS
- Versions
- 14.0.1-1
- 15.0-2ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
guava-libraries Ubuntu 16.04 LTS
- Versions
- 18.0-4ubuntu1
- 19.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
guava-libraries Ubuntu 18.04 LTS
- Versions
- 19.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
guava-libraries Ubuntu 20.04 LTS
- Versions
- 19.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
guava-libraries Ubuntu 22.04 LTS
- Versions
- 29.0-6
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/google/guava/issues/4011
- https://github.com/google/guava/commit/fec0dbc4634006a6162cfd4d0d09c962073ddf40
- https://snyk.io/vuln/SNYK-JAVA-COMGOOGLEGUAVA-1015415
- https://lists.apache.org/thread.html/r68d86f4b06c808204f62bcb254fcb5b0432528ee8d37a07ef4bc8222%40%3Ccommits.ws.apache.org%3E
- https://lists.apache.org/thread.html/r215b3d50f56faeb2f9383505f3e62faa9f549bb23e8a9848b78a968e%40%3Ccommits.ws.apache.org%3E
- https://lists.apache.org/thread.html/rb8c0f1b7589864396690fe42a91a71dea9412e86eec66dc85bbacaaf%40%3Ccommits.cxf.apache.org%3E
- https://lists.apache.org/thread.html/r4776f62dfae4a0006658542f43034a7fc199350e35a66d4e18164ee6%40%3Ccommits.cxf.apache.org%3E
- https://lists.apache.org/thread.html/rbc7642b9800249553f13457e46b813bea1aec99d2bc9106510e00ff3%40%3Ctorque-dev.db.apache.org%3E
- https://lists.apache.org/thread.html/r841c5e14e1b55281523ebcde661ece00b38a0569e00ef5e12bd5f6ba%40%3Cissues.maven.apache.org%3E
- https://lists.apache.org/thread.html/rc2dbc4633a6eea1fcbce6831876cfa17b73759a98c65326d1896cb1a%40%3Ctorque-dev.db.apache.org%3E
- https://lists.apache.org/thread.html/rd5d58088812cf8e677d99b07f73c654014c524c94e7fedbdee047604%40%3Ctorque-dev.db.apache.org%3E
- https://lists.apache.org/thread.html/r3c3b33ee5bef0c67391d27a97cbfd89d44f328cf072b601b58d4e748%40%3Ccommits.pulsar.apache.org%3E
- https://lists.apache.org/thread.html/rfc27e2727a20a574f39273e0432aa97486a332f9b3068f6ac1346594%40%3Cdev.myfaces.apache.org%3E
- https://lists.apache.org/thread.html/rd01f5ff0164c468ec7abc96ff7646cea3cce6378da2e4aa29c6bcb95%40%3Cgithub.arrow.apache.org%3E
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://lists.apache.org/thread.html/r2fe45d96eea8434b91592ca08109118f6308d60f6d0e21d52438cfb4%40%3Cdev.drill.apache.org%3E
- https://lists.apache.org/thread.html/r07ed3e4417ad043a27bee7bb33322e9bfc7d7e6d1719b8e3dfd95c14%40%3Cdev.drill.apache.org%3E
- https://lists.apache.org/thread.html/r6874dfe26eefc41b7c9a5e4a0487846fc4accf8c78ff948b24a1104a%40%3Cdev.drill.apache.org%3E
- https://lists.apache.org/thread.html/r161b87f8037bbaff400194a63cd2016c9a69f5949f06dcc79beeab54%40%3Cdev.drill.apache.org%3E
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://lists.apache.org/thread.html/ra7ab308481ee729f998691e8e3e02e93b1dedfc98f6b1cd3d86923b3%40%3Cyarn-issues.hadoop.apache.org%3E
- https://lists.apache.org/thread.html/rf00b688ffa620c990597f829ff85fdbba8bf73ee7bfb34783e1f0d4e%40%3Cyarn-dev.hadoop.apache.org%3E
- https://lists.apache.org/thread.html/r58a8775205ab1839dba43054b09a9ab3b25b423a4170b2413c4067ac%40%3Ccommon-issues.hadoop.apache.org%3E
- https://nvd.nist.gov/vuln/detail/CVE-2020-8908