Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.squareup/connect
  4. ›
  5. CVE-2021-23331

CVE-2021-23331: Insecure Temporary File

February 3, 2021 (updated April 8, 2022)

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.

References

  • nvd.nist.gov/vuln/detail/CVE-2021-23331

Code Behaviors & Features

Detect and mitigate CVE-2021-23331 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions

Solution

Unfortunately, there is no solution available yet.

Impact 3.3 LOW

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Source file

maven/com.squareup/connect/CVE-2021-23331.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:13 +0000.