CVE-2020-8908
Temp directory permission issue in Guava
- State
- Published
- Severity
- 3.3 Low
- Published
- Dec 10, 2020
- Updated
- Aug 4, 2024
- Reserved
- Feb 12, 2020
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 3.3 Low | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Weaknesses
- CWE-378 Creation of Temporary File With Insecure Permissions
Affected Products
| Product | Versions |
|---|---|
GuavaGoogle LLC |
|
References
- https://github.com/google/guava/issues/4011
- https://github.com/google/guava/commit/fec0dbc4634006a6162cfd4d0d09c962073ddf40
- https://snyk.io/vuln/SNYK-JAVA-COMGOOGLEGUAVA-1015415
- [ws-commits] 20210104 [ws-wss4j] branch master updated: Updating Guava to 30.1 due to CVE-2020-8908mailing-list
- [ws-commits] 20210104 [ws-wss4j] branch 2_3_x-fixes updated: Updating Guava to 30.1 due to CVE-2020-8908mailing-list
- [cxf-commits] 20210104 [cxf] 03/04: Updating Guava to 30.1 due to CVE-2020-8908mailing-list
- [cxf-commits] 20210104 [cxf] 02/02: Updating Guava to 30.1 due to CVE-2020-8908mailing-list
- https://lists.apache.org/thread.html/rbc7642b9800249553f13457e46b813bea1aec99d2bc9106510e00ff3%40%3Ctorque-dev.db.apache.org%3E
- [maven-issues] 20210122 [GitHub] [maven-indexer] akurtakov opened a new pull request #75: Remove guava dependency from indexer-coremailing-list
- [db-torque-dev] 20210127 Re: Items for our (delayed) quarterly report to the board?mailing-list
- [db-torque-dev] 20210128 Antwort: Re: Items for our (delayed) quarterly report to the board?mailing-list
- [pulsar-commits] 20210406 [GitHub] [pulsar] lhotari opened a new pull request #10149: Upgrade jclouds to 2.3.0 to fix security vulnerabilitiesmailing-list
- [myfaces-dev] 20210506 [GitHub] [myfaces-tobago] lofwyr14 opened a new pull request #817: build: CVE fixmailing-list
- [arrow-github] 20210610 [GitHub] [arrow] projjal opened a new pull request #10501: ARROW-13032: Update guava versionmailing-list
- https://www.oracle.com/security-alerts/cpuApr2021.html
- [drill-dev] 20210618 [GitHub] [drill] ssainz edited a comment on issue #2260: CVE-2020-8908 in Guava v.28.2-jre, should upgrade to v.30.1.1mailing-list
- [drill-dev] 20210618 [GitHub] [drill] ssainz commented on issue #2260: CVE-2020-8908 in Guava v.28.2-jre, should upgrade to v.30.1.1mailing-list
- [drill-dev] 20210618 [GitHub] [drill] cgivre commented on issue #2260: CVE-2020-8908 in Guava v.28.2-jre, should upgrade to v.30.1.1mailing-list
- [drill-dev] 20210619 [GitHub] [drill] luocooong commented on issue #2260: CVE-2020-8908 in Guava v.28.2-jre, should upgrade to v.30.1.1mailing-list
- https://www.oracle.com//security-alerts/cpujul2021.html
- [hadoop-yarn-issues] 20211018 [jira] [Updated] (YARN-10980) fix CVE-2020-8908mailing-list
- [hadoop-yarn-dev] 20211018 [jira] [Created] (YARN-10980) fix CVE-2020-8908mailing-list
- [hadoop-common-issues] 20211018 [GitHub] [hadoop] lujiefsi opened a new pull request #3561: Yarn 10980mailing-list
- [hadoop-yarn-issues] 20211018 [jira] [Created] (YARN-10980) fix CVE-2020-8908mailing-list
- [hadoop-yarn-dev] 20211018 [jira] [Resolved] (YARN-10980) fix CVE-2020-8908mailing-list
- [hive-dev] 20211018 [jira] [Created] (HIVE-25617) fix CVE-2020-8908mailing-list
- [hadoop-common-issues] 20211018 [GitHub] [hadoop] lujiefsi edited a comment on pull request #3561: YARN-10980:fix CVE-2020-8908mailing-list
- [geode-issues] 20211018 [jira] [Updated] (GEODE-9744) fix CVE-2020-8908mailing-list
- [hive-issues] 20211018 [jira] [Updated] (HIVE-25617) fix CVE-2020-8908mailing-list
- [hive-issues] 20211018 [jira] [Work logged] (HIVE-25617) fix CVE-2020-8908mailing-list
- [hadoop-yarn-issues] 20211018 [jira] [Comment Edited] (YARN-10980) fix CVE-2020-8908mailing-list
- [hadoop-yarn-issues] 20211018 [jira] [Resolved] (YARN-10980) fix CVE-2020-8908mailing-list
- [hive-gitbox] 20211018 [GitHub] [hive] lujiefsi opened a new pull request #2725: HIVE-25617:fix CVE-2020-8908mailing-list
- [hadoop-yarn-issues] 20211018 [jira] [Commented] (YARN-10980) fix CVE-2020-8908mailing-list
- [geode-issues] 20211018 [jira] [Created] (GEODE-9744) fix CVE-2020-8908mailing-list
- [geode-issues] 20211018 [jira] [Updated] (GEODE-9744) bug like CVE-2020-8908mailing-list
- [geode-issues] 20211018 [jira] [Updated] (GEODE-9744) bug CVE-2020-8908mailing-list
- [geode-issues] 20211018 [jira] [Updated] (GEODE-9744) like CVE-2020-8908mailing-list
- https://www.oracle.com/security-alerts/cpuoct2021.html
- [pig-dev] 20211021 [GitHub] [pig] lujiefsi opened a new pull request #36: PIG-5417:Replace guava's Files.createTempDir()mailing-list
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://security.netapp.com/advisory/ntap-20220210-0003/
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.