GitHub Advisoryadvisory · Maven

GHSA-q4hm-fwc9-hmv6 Insecure temporary file used in com.squareup:connect

LOW Published 2021-06-16 Modified 2022-04-18 Official page ↗
Aliases
CVE-2021-23331
Ecosystem
Maven
Packages
com.squareup:connect
Severity
Low
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-377
Reviewed
2021-03-22

Affected packages

• Maven com.squareup:connect: <= 2.20191120.0 (no fix yet)

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.

Related

Weakness · not in database (1)

Alias · CVE (1)

  • CVE-2021-23331 This affects all versions of package com.squareup:connect. vulnerability

References