CVE-2021-23331

Insecure Temporary File

Medium · published February 3, 2021

CVSS v3.1
4.4
EPSS
0%
Percentile
26.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.4 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N/E:P/RL:W/RC:C
CVSS v4.0
Not supplied
EPSS
0.00341 · 26.2th percentile
Published
2021-02-03T18:05Z
EPSS history
Timeline
  • 03 FEB 18:05Z
    Insecure Temporary File
    cvelistv5