CVE-2021-22572
JSON

5.5medium

Data-transfer-project information disclosure via tmp directory

Severity
5.5medium CVSS:3.1 by Google
Exploit likelihood
0.13% (higher than 3% of CVEs; EPSS, by FIRST)
Published
Last changed
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

Affected

Product or packageVersionsReported by
Google LLC Data-Transfer-Projectfrom unspecified before 0.3.57CVE List
google data_transfer_projectbefore 0.3.57NVD

All scores

Google5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD2.1low CVSS:2.0AV:L/AC:L/Au:N/C:P/I:N/A:N

Classification

CWE-377CWE-668

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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

NVD (es)

En los sistemas tipo unix, el directorio temporal del sistema se comparte entre todos los usuarios de ese sistema. La causa principal es que File.createTempFile crea archivos en el directorio temporal del sistema con permisos de lectura mundial. Cualquier información confidencial escrita en estos archivos es visible para todos los demás usuarios locales en los sistemas tipo unix. Recomendamos actualizar el commit anterior https://github.com/google/data-transfer-project/pull/969

References

Sources

SourceRecordLicence
CVE ListCVE-2021-22572 changed 2025-04-21CVE Terms of Use
NVDCVE-2021-22572 changed 2026-06-17Public domain