CWE
668 377
Advisory Published
Updated

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

First published: Tue Mar 29 2022(Updated: )

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

Credit: cve-coordination@google.com

Affected SoftwareAffected VersionHow to fix
Google Data Transfer Project<0.3.57

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2021-22572?

    CVE-2021-22572 is considered a medium severity vulnerability due to its potential to expose sensitive information to unauthorized users.

  • How does CVE-2021-22572 affect file security?

    CVE-2021-22572 affects file security by allowing temporary files created in the system's temporary directory to have world readable permissions, risking data exposure.

  • What systems are impacted by CVE-2021-22572?

    CVE-2021-22572 impacts Unix-like systems that utilize the shared system temporary directory.

  • How do I mitigate CVE-2021-22572?

    To mitigate CVE-2021-22572, avoid using the system temporary directory for sensitive data and set appropriate permissions on temporary files.

  • Which software versions are vulnerable to CVE-2021-22572?

    Google Data Transfer Project versions prior to 0.3.57 are vulnerable to CVE-2021-22572.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203