GHSA-q4hm-fwc9-hmv6 · Severity: low · Ecosystem: maven — Insecure temporary file used in com.squareup:connect
This affects all versions of package com.squareup:connect. The method prepareDownloadFilecreates creates a temporary file with the permissions bits of -rw-r--r-- on unix-like systems. On unix-like systems, the system temporary directory is shared between users. As such, the contents of the file downloaded by downloadFileFromResponse will be visible to all other users on the local system. A workaround fix for this issue is to set the system property java.io.tmpdir to a safe directory as remediation. Note: This version of the SDK is end of life and no longer maintained, please upgrade to the latest version.
Conclusion & alert: CVE-2021-23331 is rated Low Risk (20.8/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.04%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-04-20 | 0.08% | 0.04% | -0.05% |
| 2 | 2025-03-17 | 0.04% | 0.08% | +0.04% |
| 3 | 2023-03-07 | — | 0.04% | — |
Full EPSS history (7 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 4.4 | 3.1 | MEDIUM |
|
1.8 | 2.5 | [email protected] |
| 3.3 | 3.1 | LOW |
|
1.8 | 1.4 | [email protected] |
| 2.1 | 2.0 | LOW |
|
3.9 | 2.9 | [email protected] |
GHSA-q4hm-fwc9-hmv6 · Severity: low · Ecosystem: maven — Insecure temporary file used in com.squareup:connect
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| squareup | connect_java_software_development_kit | — | cpe:2.3:a:squareup:connect_java_software_development_kit:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/square/connect-java-sdk/blob/master/src/main/java/com/squareup/connect/ApiClient.java%23L613 | Broken Link |
| https://snyk.io/vuln/SNYK-JAVA-COMSQUAREUP-1065988 | Third Party Advisory |