Security mailing lists by PureSourceCode

CVE-2021-23331

LOW 3.3CVSS 3.1

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.

Published
3 Feb 2021
Last modified
17 Jun 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-377
Also known as
GHSA-q4hm-fwc9-hmv6
Sources
NVDJSONOSV GHSA-q4hm-fwc9-hmv6JSON

Scores

SourceScored byVersionScoreVector / decision
NVD report@snyk.io (Secondary) CVSS 3.1 MEDIUM 4.4 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 LOW 3.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
OSV GitHub CVSS 3.1 LOW 3.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 2.1 AV:L/AC:L/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD squareup connect_java_software_development_kit
cpe:2.3:a:squareup:connect_java_software_development_kit:*:*:*:*:*:*:*:*
all versions
OSV Maven com.squareup:connect <= 2.20191120.0

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 3 Feb 2021)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 16 Jun 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.