CVE-2021-23331 Insecure Temporary File
LowCVSS 3.3
EPSS 0.35%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| com.squareup/connect(Maven) | <= 2.20191120.0 | No fix listed |
| com.squareup/connect(Maven) | = 2.0.2 | No fix listed |
| com.squareup/connect(Maven) | = 2.1.0 | No fix listed |
| com.squareup/connect(Maven) | = 2.2.0 | No fix listed |
| com.squareup/connect(Maven) | = 2.2.1 | No fix listed |
| com.squareup/connect(Maven) | = 2.20180712.0 | No fix listed |
| com.squareup/connect(Maven) | = 2.20180712.1 | No fix listed |
| com.squareup/connect(Maven) | = 2.20180712.2 | No fix listed |
| com.squareup/connect(Maven) | = 2.20180918.0 | No fix listed |
| com.squareup/connect(Maven) | = 2.20180918.1 | No fix listed |
| com.squareup/connect(Maven) | = 2.20181205.0 | No fix listed |
| com.squareup/connect(Maven) | = 2.20181212.0 | No fix listed |
| com.squareup/connect(Maven) | = 2.20190213.0 | No fix listed |
| com.squareup/connect(Maven) | = 2.20190313.0 | No fix listed |
| com.squareup/connect(Maven) | = 2.20190313.1 | No fix listed |
| com.squareup/connect(Maven) | = 2.20190327.0 | No fix listed |
| com.squareup/connect(Maven) | = 2.20190327.1 | No fix listed |
| com.squareup/connect(Maven) | = 2.20190410.0 | No fix listed |
| com.squareup/connect(Maven) | = 2.20190410.1 | No fix listed |
| com.squareup/connect(Maven) | = 2.20190508.0 | No fix listed |
| com.squareup/connect(Maven) | = 2.20190508.1 | No fix listed |
| com.squareup/connect(Maven) | = 2.20190612.0 | No fix listed |
| com.squareup/connect(Maven) | = 2.20190612.1 | No fix listed |
| com.squareup/connect(Maven) | = 2.20190710.0 | No fix listed |
| com.squareup/connect(Maven) | = 2.20190814.1 | No fix listed |
Show 16 more
| Product | Affected versions | Fixed in |
|---|---|---|
| com.squareup/connect(Maven) | = 2.20190814.2 | No fix listed |
| com.squareup/connect(Maven) | = 2.20190925.0 | No fix listed |
| com.squareup/connect(Maven) | = 2.20191023.0 | No fix listed |
| com.squareup/connect(Maven) | = 2.20191120.0 | No fix listed |
| com.squareup/connect(Maven) | = 2.3.0 | No fix listed |
| com.squareup/connect(Maven) | = 2.3.1 | No fix listed |
| com.squareup/connect(Maven) | = 2.4.0 | No fix listed |
| com.squareup/connect(Maven) | = 2.5.0 | No fix listed |
| com.squareup/connect(Maven) | = 2.5.1 | No fix listed |
| com.squareup/connect(Maven) | = 2.5.2 | No fix listed |
| com.squareup/connect(Maven) | = 2.5.3 | No fix listed |
| com.squareup/connect(Maven) | = 2.6.1 | No fix listed |
| com.squareup/connect(Maven) | = 2.7.0 | No fix listed |
| com.squareup/connect(Maven) | = 2.8.0 | No fix listed |
| com.squareup/connect(Maven) | = 2.9.0 | No fix listed |
| squareup connect java software development kit | All versions | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com broken-link
- snyk.io third-party-advisory
- github.com
- github.com product