# CVE-2021-22572: Data-transfer-project information disclosure via tmp directory

- Severity: Medium 5.5 (CVSS:3.1, scored by Google) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 3% of CVEs (2026-12-01)
- Published: 2022-03-29T15:05:19.000Z
- Modified: 2026-06-17T03:37:27.190Z
- Weaknesses: CWE-377, CWE-668
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Google

## Description

On unix-like systems, the system temporary directory is shared between all users on that system. The root cause is File.createTempFile creates files in the the system temporary directory with world readable permissions. Any sensitive information written to theses files is visible to all other local users on unix-like systems. We recommend upgrading past commit https://github.com/google/data-transfer-project/pull/969

(As written by CVE List.)

## Affected

- Google LLC Data-Transfer-Project: from unspecified before 0.3.57
- google data_transfer_project: before 0.3.57

## Every score

- Google: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/google/data-transfer-project/pull/969> (patch, third-party-advisory)
- <https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-22c6-wcjm-qfjg> (third-party-advisory)

## Sources

- CVE List: [CVE-2021-22572](https://www.cve.org/CVERecord?id=CVE-2021-22572), CVE Terms of Use, modified 2025-04-21
- NVD: [CVE-2021-22572](https://nvd.nist.gov/vuln/detail/CVE-2021-22572), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-22572 · Whole record: https://cve.day/CVE-2021-22572.json · Rebuilt by cve.day 2026-11-25T22:58:07.275Z
