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

Medium 5.5 Published Updated

Local attackers can read sensitive data from world-readable temporary files created by the Data Transfer Project library on Unix-like systems.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-22572?

CVE-2021-22572 is a medium-severity vulnerability in Google LLC Data-Transfer-Project, published on 29 Mar 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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

Weakness: CWE-668, CWE-377

Which versions are affected by CVE-2021-22572?

It affects 1 product.

Products include Google Data Transfer Project.

How do I fix CVE-2021-22572?

No fix has been published for CVE-2021-22572 yet. Limit exposure of the affected software until one is available.

Is CVE-2021-22572 being exploited?

There is no known exploitation of CVE-2021-22572 in the wild and no public exploit code.

Sources

Also known as GHSA-22c6-wcjm-qfjg, GHSA-hggf-qxmm-f4vw.

Is CVE-2021-22572 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free