Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXE0aG0tZndjOS1obXY2

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.

Permalink: https://github.com/advisories/GHSA-q4hm-fwc9-hmv6
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXE0aG0tZndjOS1obXY2
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Low
Classification: General
Published: almost 3 years ago
Updated: about 1 year ago


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

Identifiers: GHSA-q4hm-fwc9-hmv6, CVE-2021-23331
References: Repository: https://github.com/square/connect-java-sdk
Blast Radius: 3.0

Affected Packages

maven:com.squareup:connect
Dependent packages: 0
Dependent repositories: 8
Downloads:
Affected Version Ranges: <= 2.20191120.0
No known fixed version
All affected versions: 2.0.2, 2.1.0, 2.2.0, 2.2.1, 2.3.0, 2.3.1, 2.4.0, 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.6.1, 2.7.0, 2.8.0, 2.9.0, 2.20180712.0, 2.20180712.1, 2.20180712.2, 2.20180918.0, 2.20180918.1, 2.20181205.0, 2.20181212.0, 2.20190213.0, 2.20190313.0, 2.20190313.1, 2.20190327.0, 2.20190327.1, 2.20190410.0, 2.20190410.1, 2.20190508.0, 2.20190508.1, 2.20190612.0, 2.20190612.1, 2.20190710.0, 2.20190814.1, 2.20190814.2, 2.20190925.0, 2.20191023.0, 2.20191120.0