Live threats

All CVEs / Squareup

CVE-2021-23331Squareup Connect Java Software Development Kit

Low 3.3

Priority
20
CVSS 3.1
3.3
EPSS
0.3%
probability of exploitation in 30 days · percentile 30
Auth required
Yes
Published
Feb 3, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Connect Java Software Development Kit.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven com.squareup:connect ≤ 2.20191120.0 no fixed version —

Per OSV / GitHub Advisories (GHSA-q4hm-fwc9-hmv6). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
squareupconnect_java_software_development_kitall

Official sources

References

Links published by the sources. Open them with care.