Read the docs
TI-2021-06032 Aliases CVE-2021-23331GHSA-q4hm-fwc9-hmv6

Insecure Temporary File

Priority LOW 20CWE-377Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Low · Low · None
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

EPSS 0.00346 28th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—com.squareup:connectall versions—No fix listedCNA
—com.squareup:connect (Maven)up to 2.20191120.0—No fix listedGHSA-q4hm-fwc9-hmv6
  • com.squareup:connect Vendor— Affected all versions Fixed in — No fix listed CNA
  • com.squareup:connect (Maven) Vendor— Affected up to 2.20191120.0 Fixed in — No fix listed GHSA-q4hm-fwc9-hmv6

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:squareup:connect_java_software_development_kit:*:*:*:*:*:*:*:*all versionsVulnerableSquareup
  • cpe:2.3:a:squareup:connect_java_software_development_kit:*:*:*:*:*:*:*:* Versions all versions Vulnerable ·Squareup

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-23331
  2. 2026-10-03 Alias added: GHSA-q4hm-fwc9-hmv6

References

Sources