{"id":"CVE-2021-23331","url":"https://www.cyber-defence.io/tools/cve/CVE-2021-23331","generatedAt":"2026-10-27T23:36:32.517Z","title":"This affects all versions of package com.squareup:connect.","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.","published":"2021-02-03T18:15:16.000Z","lastModified":"2026-06-17T03:38:34.000Z","status":"Modified","sourceIdentifier":"report@snyk.io","cvss":{"version":"3.1","score":3.3,"severity":"LOW","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"},"cwe":[],"affected":["squareup/connect java software development kit"],"epss":{"score":0.00341,"percentile":0.27417,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.34%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"https://github.com/square/connect-java-sdk/blob/master/src/main/java/com/squareup/connect/ApiClient.java%23L613","tags":["Broken Link"],"source":"report@snyk.io"},{"url":"https://snyk.io/vuln/SNYK-JAVA-COMSQUAREUP-1065988","tags":["Third Party Advisory"],"source":"report@snyk.io"},{"url":"https://github.com/square/connect-java-sdk/blob/master/src/main/java/com/squareup/connect/ApiClient.java%23L613","tags":["Broken Link"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://snyk.io/vuln/SNYK-JAVA-COMSQUAREUP-1065988","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-23331","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}