Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-22572

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-22572
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:42 UTC · Revision 1

Source evidence

CVE-2021-22572

core-osv · Original source

Published 29 Mar 2022, 15:15 UTC

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

osv:CVE-2021-22572
Complete source record
{
  "id": "eb53e0e4881990f2aac89a81953368f393495de6a766caeec721eaa8c0c85c51",
  "url": "https://osv.dev/vulnerability/CVE-2021-22572",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-22572",
    "summary": "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",
    "evidence": "osv:CVE-2021-22572",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-22572",
      "aliases": [
        "CVE-2021-22572",
        "GHSA-22c6-wcjm-qfjg"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/dtinit/data-transfer-project",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "a52ad68db688d20aaa1e4d38441ccbd00ad5255a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:google:data_transfer_project:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.3.57"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.3.56",
            "v0.3.55",
            "v0.3.54",
            "v0.3.53",
            "v0.3.52",
            "v0.3.51",
            "v0.3.50",
            "v0.3.49",
            "v0.3.48",
            "v0.3.46",
            "v0.3.45",
            "v0.3.44",
            "v0.3.43",
            "v0.3.42",
            "v0.3.41",
            "v0.3.40",
            "v0.3.39",
            "v0.3.38",
            "v0.3.37",
            "v0.3.33",
            "v0.3.32",
            "v0.3.31",
            "v0.3.30",
            "v0.3.29",
            "v0.3.28",
            "0.3.27",
            "v0.3.26",
            "v0.3.25",
            "3",
            "0.3.24",
            "v0.3.23",
            "v0.3.20",
            "6783599",
            "v0.3.17",
            "v0.3.16",
            "v0.3.15",
            "v0.3.14",
            "v0.3.13",
            "v0.3.12"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22572.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-22572-c178e93e",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "177036191546829773953987168276172542798",
                    "105963600067749632543276681015577366378",
                    "127911330037622962165367722908575592497",
                    "289168388963441672843083804643073347849",
                    "9983191831977875518847465802327144338"
                  ]
                },
                "source": "https://github.com/dtinit/data-transfer-project/commit/a52ad68db688d20aaa1e4d38441ccbd00ad5255a",
                "target": {
                  "file": "extensions/data-transfer/portability-data-transfer-google/src/main/java/org/datatransferproject/datatransfer/google/calendar/GoogleCalendarImporter.java"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T14:18:23Z"
          }
        }
      ],
      "modified": "2026-10-20T14:18:23.644033706Z",
      "provider": "osv",
      "references": [
        "https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-22c6-wcjm-qfjg",
        "https://github.com/google/data-transfer-project/pull/969"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-22572",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388794,
  "published_at": "2022-03-29T15:15:08.04+00:00"
}