Temp directory permission issue in Guava
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
- Dec 10, 2020
- Updated
- Jun 16, 2026
- EPSS
- 1.0% · 61th percentile
- CWE
- CWE-378
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
13
Monitor
Low priority for now.
- CVSS
- 13 / 40 · 3.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.0%
CNA vs NVD score
- NVD
- 3.3
- CNA · Google
- 3.3
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| guava | cpe:2.3:a:google:guava | |
| quarkus | quarkus | cpe:2.3:a:quarkus:quarkus |
| oracle | commerce guided search | cpe:2.3:a:oracle:commerce_guided_search |
| oracle | communications cloud native core network slice selection function | cpe:2.3:a:oracle:communications_cloud_native_core_network_slice_selection_function |
| oracle | communications pricing design center | cpe:2.3:a:oracle:communications_pricing_design_center |
| oracle | data integrator | cpe:2.3:a:oracle:data_integrator |
| oracle | nosql database | cpe:2.3:a:oracle:nosql_database |
| oracle | peoplesoft enterprise peopletools | cpe:2.3:a:oracle:peoplesoft_enterprise_peopletools |
| oracle | retail customer management and segmentation foundation | cpe:2.3:a:oracle:retail_customer_management_and_segmentation_foundation |
| oracle | weblogic server | cpe:2.3:a:oracle:weblogic_server |
| oracle | communications cloud native core network repository function | cpe:2.3:a:oracle:communications_cloud_native_core_network_repository_function |
| oracle | primavera unifier | cpe:2.3:a:oracle:primavera_unifier |
and 1 more
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- google guavabefore 32.0.0
- netapp active iq unified managerall versions
- oracle commerce guided search11.3.2
- oracle communications cloud native core network repository function1.14.0
- oracle communications cloud native core network slice selection function1.2.1
- oracle communications pricing design center12.0.0.4.0
- oracle communications pricing design center12.0.0.5.0
- oracle data integrator12.2.1.3.0
- oracle data integrator12.2.1.4.0
- oracle nosql databasebefore 20.3
- oracle peoplesoft enterprise peopletools8.57
- oracle peoplesoft enterprise peopletools8.58
- oracle peoplesoft enterprise peopletools8.59
- oracle primavera unifier17.7 and later · up to 17.12 inclusive
- oracle primavera unifier18.8
- oracle primavera unifier19.12
- oracle primavera unifier20.12
- oracle primavera unifier21.12
- oracle retail customer management and segmentation foundation16.0 and later · up to 19.0 inclusive
- oracle weblogic server14.1.1.0.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Google). Independent of NVD's CPE analysis and usually ahead of it.
Google LLC Guava
- 1.0 and later · before 32.0affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | guava-libraries | all versions | — |
| Debian:13 | guava-libraries | before 32.0.1-1 | 32.0.1-1 |
| Maven | com.google.guava:guava | before 32.0.0-android | 32.0.0-android |
| openSUSE:Tumbleweed | guava | before 30.1.1-1.2 | 30.1.1-1.2 |
| Red Hat:jboss_enterprise_application_platform:7.3::el6 | eap7-activemq-artemis | before 0:2.9.0-9.redhat_00019.1.el6eap | 0:2.9.0-9.redhat_00019.1.el6eap |
| Red Hat:jboss_enterprise_application_platform:7.3::el6 | eap7-activemq-artemis-cli | before 0:2.9.0-9.redhat_00019.1.el6eap | 0:2.9.0-9.redhat_00019.1.el6eap |
| Red Hat:jboss_enterprise_application_platform:7.3::el6 | eap7-activemq-artemis-commons | before 0:2.9.0-9.redhat_00019.1.el6eap | 0:2.9.0-9.redhat_00019.1.el6eap |
| Red Hat:jboss_enterprise_application_platform:7.3::el6 | eap7-activemq-artemis-core-client | before 0:2.9.0-9.redhat_00019.1.el6eap | 0:2.9.0-9.redhat_00019.1.el6eap |
| Red Hat:jboss_enterprise_application_platform:7.3::el6 | eap7-activemq-artemis-dto | before 0:2.9.0-9.redhat_00019.1.el6eap | 0:2.9.0-9.redhat_00019.1.el6eap |
| Red Hat:jboss_enterprise_application_platform:7.3::el6 | eap7-activemq-artemis-hornetq-protocol | before 0:2.9.0-9.redhat_00019.1.el6eap | 0:2.9.0-9.redhat_00019.1.el6eap |
| Red Hat:jboss_enterprise_application_platform:7.3::el6 | eap7-activemq-artemis-hqclient-protocol | before 0:2.9.0-9.redhat_00019.1.el6eap | 0:2.9.0-9.redhat_00019.1.el6eap |
| Red Hat:jboss_enterprise_application_platform:7.3::el6 | eap7-activemq-artemis-jdbc-store | before 0:2.9.0-9.redhat_00019.1.el6eap | 0:2.9.0-9.redhat_00019.1.el6eap |
| Red Hat:jboss_enterprise_application_platform:7.3::el6 | eap7-activemq-artemis-jms-client | before 0:2.9.0-9.redhat_00019.1.el6eap | 0:2.9.0-9.redhat_00019.1.el6eap |
| Red Hat:jboss_enterprise_application_platform:7.3::el6 | eap7-activemq-artemis-jms-server | before 0:2.9.0-9.redhat_00019.1.el6eap | 0:2.9.0-9.redhat_00019.1.el6eap |
| Red Hat:jboss_enterprise_application_platform:7.3::el6 | eap7-activemq-artemis-journal | before 0:2.9.0-9.redhat_00019.1.el6eap | 0:2.9.0-9.redhat_00019.1.el6eap |
| Red Hat:jboss_enterprise_application_platform:7.3::el6 | eap7-activemq-artemis-ra | before 0:2.9.0-9.redhat_00019.1.el6eap | 0:2.9.0-9.redhat_00019.1.el6eap |
| Red Hat:jboss_enterprise_application_platform:7.3::el6 | eap7-activemq-artemis-selector | before 0:2.9.0-9.redhat_00019.1.el6eap | 0:2.9.0-9.redhat_00019.1.el6eap |
| Red Hat:jboss_enterprise_application_platform:7.3::el6 | eap7-activemq-artemis-server | before 0:2.9.0-9.redhat_00019.1.el6eap | 0:2.9.0-9.redhat_00019.1.el6eap |
| Red Hat:jboss_enterprise_application_platform:7.3::el6 | eap7-activemq-artemis-service-extensions | before 0:2.9.0-9.redhat_00019.1.el6eap | 0:2.9.0-9.redhat_00019.1.el6eap |
| Red Hat:jboss_enterprise_application_platform:7.3::el6 | eap7-activemq-artemis-tools | before 0:2.9.0-9.redhat_00019.1.el6eap | 0:2.9.0-9.redhat_00019.1.el6eap |
| Red Hat:jboss_enterprise_application_platform:7.3::el6 | eap7-bouncycastle | before 0:1.68.0-1.redhat_00001.1.el6eap | 0:1.68.0-1.redhat_00001.1.el6eap |
| Red Hat:jboss_enterprise_application_platform:7.3::el6 | eap7-bouncycastle-mail | before 0:1.68.0-1.redhat_00001.1.el6eap | 0:1.68.0-1.redhat_00001.1.el6eap |
| Red Hat:jboss_enterprise_application_platform:7.3::el6 | eap7-bouncycastle-pkix | before 0:1.68.0-1.redhat_00001.1.el6eap | 0:1.68.0-1.redhat_00001.1.el6eap |
| Red Hat:jboss_enterprise_application_platform:7.3::el6 | eap7-bouncycastle-prov | before 0:1.68.0-1.redhat_00001.1.el6eap | 0:1.68.0-1.redhat_00001.1.el6eap |
+96
Same product
google: all recordsOther highest-scoring records for the same primary product.
- CVE-2023-2976Use of temporary directory for file creation in `FileBackedOutputStream` in Guava28Monitor
- CVE-2018-10237Unbounded memory allocation in Google Guava 11.0 through 24.x before 24.1.1 allows remote attackers to conduct denial of service attacks aga25Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:guava-libraries | 32.0.1-1 · Debian:13 | Package registry (OSV) |
| Maven:com.google.guava:guava | 32.0.0-android | Package registry (OSV) |
| opensuse:guava | 32.0.1-150200.3.7.1 · openSUSE:Leap 15.4 | Package registry (OSV) |
| red hat:eap7-activemq-artemis | 0:2.9.0-9.redhat_00019.1.el6eap · Red Hat:jboss_enterprise_application_platform:7.3::el6 | Package registry (OSV) |
| red hat:eap7-activemq-artemis-cli | 0:2.9.0-9.redhat_00019.1.el6eap · Red Hat:jboss_enterprise_application_platform:7.3::el6 | Package registry (OSV) |
| red hat:eap7-activemq-artemis-commons | 0:2.9.0-9.redhat_00019.1.el6eap · Red Hat:jboss_enterprise_application_platform:7.3::el6 | Package registry (OSV) |
| red hat:eap7-activemq-artemis-core-client | 0:2.9.0-9.redhat_00019.1.el6eap · Red Hat:jboss_enterprise_application_platform:7.3::el6 | Package registry (OSV) |
| red hat:eap7-activemq-artemis-dto | 0:2.9.0-9.redhat_00019.1.el6eap · Red Hat:jboss_enterprise_application_platform:7.3::el6 | Package registry (OSV) |
| red hat:eap7-activemq-artemis-hornetq-protocol | 0:2.9.0-9.redhat_00019.1.el6eap · Red Hat:jboss_enterprise_application_platform:7.3::el6 | Package registry (OSV) |
| red hat:eap7-activemq-artemis-hqclient-protocol | 0:2.9.0-9.redhat_00019.1.el6eap · Red Hat:jboss_enterprise_application_platform:7.3::el6 | Package registry (OSV) |
| red hat:eap7-activemq-artemis-jdbc-store | 0:2.9.0-9.redhat_00019.1.el6eap · Red Hat:jboss_enterprise_application_platform:7.3::el6 | Package registry (OSV) |
| red hat:eap7-activemq-artemis-jms-client | 0:2.9.0-9.redhat_00019.1.el6eap · Red Hat:jboss_enterprise_application_platform:7.3::el6 | Package registry (OSV) |
| red hat:eap7-activemq-artemis-jms-server | 0:2.9.0-9.redhat_00019.1.el6eap · Red Hat:jboss_enterprise_application_platform:7.3::el6 | Package registry (OSV) |
| red hat:eap7-activemq-artemis-journal | 0:2.9.0-9.redhat_00019.1.el6eap · Red Hat:jboss_enterprise_application_platform:7.3::el6 | Package registry (OSV) |
| red hat:eap7-activemq-artemis-ra | 0:2.9.0-9.redhat_00019.1.el6eap · Red Hat:jboss_enterprise_application_platform:7.3::el6 | Package registry (OSV) |
| suse:guava | 32.0.1-150200.3.7.1 · SUSE:Linux Enterprise Module for Development Tools 15 SP4 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- Jonathan Leitschuhfinder
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- low · data can be read
- Integrity
- none
- Availability
- none
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- Low
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-378 · Creation of Temporary File With Insecure PermissionsCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- github.com/google/guava/commit/fec0dbc4634006a6162cfd4d0d09c962073ddf40
- github.com/google/guava/issues/4011
- lists.apache.org/thread.html/r007add131977f4f576c232b25e024249a3d16f66aad14a4b52819d21%40%3Ccommon-issues.hadoop.apache.org%3E
- lists.apache.org/thread.html/r07ed3e4417ad043a27bee7bb33322e9bfc7d7e6d1719b8e3dfd95c14%40%3Cdev.drill.apache.org%3E
- lists.apache.org/thread.html/r161b87f8037bbaff400194a63cd2016c9a69f5949f06dcc79beeab54%40%3Cdev.drill.apache.org%3E
- lists.apache.org/thread.html/r215b3d50f56faeb2f9383505f3e62faa9f549bb23e8a9848b78a968e%40%3Ccommits.ws.apache.org%3E
- lists.apache.org/thread.html/r294be9d31c0312d2c0837087204b5d4bf49d0552890e6eec716fa6a6%40%3Cyarn-issues.hadoop.apache.org%3E
- lists.apache.org/thread.html/r2fe45d96eea8434b91592ca08109118f6308d60f6d0e21d52438cfb4%40%3Cdev.drill.apache.org%3E
- lists.apache.org/thread.html/r3c3b33ee5bef0c67391d27a97cbfd89d44f328cf072b601b58d4e748%40%3Ccommits.pulsar.apache.org%3E
- lists.apache.org/thread.html/r3dd8881de891598d622227e9840dd7c2ef1d08abbb49e9690c7ae1bc%40%3Cissues.geode.apache.org%3E
- lists.apache.org/thread.html/r4776f62dfae4a0006658542f43034a7fc199350e35a66d4e18164ee6%40%3Ccommits.cxf.apache.org%3E
- lists.apache.org/thread.html/r49549a8322f62cd3acfa4490d25bfba0be04f3f9ff4d14fe36199d27%40%3Cyarn-dev.hadoop.apache.org%3E
- lists.apache.org/thread.html/r58a8775205ab1839dba43054b09a9ab3b25b423a4170b2413c4067ac%40%3Ccommon-issues.hadoop.apache.org%3E
- lists.apache.org/thread.html/r5b3d93dfdfb7708e796e8762ab40edbde8ff8add48aba53e5ea26f44%40%3Cissues.geode.apache.org%3E
- lists.apache.org/thread.html/r5d61b98ceb7bba939a651de5900dbd67be3817db6bfcc41c6e04e199%40%3Cyarn-issues.hadoop.apache.org%3E
- lists.apache.org/thread.html/r6874dfe26eefc41b7c9a5e4a0487846fc4accf8c78ff948b24a1104a%40%3Cdev.drill.apache.org%3E
- lists.apache.org/thread.html/r68d86f4b06c808204f62bcb254fcb5b0432528ee8d37a07ef4bc8222%40%3Ccommits.ws.apache.org%3E
- lists.apache.org/thread.html/r79e47ed555bdb1180e528420a7a2bb898541367a29a3bc6bbf0baf2c%40%3Cissues.hive.apache.org%3E
- lists.apache.org/thread.html/r7b0e81d8367264d6cad98766a469d64d11248eb654417809bfdacf09%40%3Cyarn-issues.hadoop.apache.org%3E
- lists.apache.org/thread.html/r841c5e14e1b55281523ebcde661ece00b38a0569e00ef5e12bd5f6ba%40%3Cissues.maven.apache.org%3E
Vendor advisories and official records. Exploit/PoC links are deliberately left out.