{"api_version":"1","generated_at":"2026-07-23T15:30:30+00:00","cve":"CVE-2021-22572","urls":{"html":"https://cve.report/CVE-2021-22572","api":"https://cve.report/api/cve/CVE-2021-22572.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-22572","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-22572"},"summary":{"title":"CVE-2021-22572","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","state":"PUBLIC","assigner":"security@google.com","published_at":"2022-03-29 15:15:00","updated_at":"2022-05-10 15:57:00"},"problem_types":["CWE-668"],"metrics":[],"references":[{"url":"https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-22c6-wcjm-qfjg","name":"https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-22c6-wcjm-qfjg","refsource":"MISC","tags":[],"title":"Insecure Temporary File in google / data-transfer-project · Advisory · JLLeitschuh/security-research · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/google/data-transfer-project/pull/969","name":"N/A","refsource":"CONFIRM","tags":[],"title":"Switch to using Files.createTempFile by seehamrun · Pull Request #969 · google/data-transfer-project · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-22572","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22572","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Jonathan Leitschuh","lang":""}],"nvd_cpes":[{"cve_year":"2021","cve_id":"22572","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"google","cpe5":"data_transfer_project","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security@google.com","ID":"CVE-2021-22572","STATE":"PUBLIC","TITLE":"Data-transfer-project information disclosure via tmp directory"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Data-Transfer-Project","version":{"version_data":[{"version_affected":"<","version_value":"0.3.57"}]}}]},"vendor_name":"Google LLC"}]}},"credit":[{"lang":"eng","value":"Jonathan Leitschuh"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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"}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-377 Insecure Temporary File"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://github.com/google/data-transfer-project/pull/969","name":"https://github.com/google/data-transfer-project/pull/969"},{"refsource":"MISC","url":"https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-22c6-wcjm-qfjg","name":"https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-22c6-wcjm-qfjg"}]},"source":{"discovery":"EXTERNAL"}},"nvd":{"publishedDate":"2022-03-29 15:15:00","lastModifiedDate":"2022-05-10 15:57:00","problem_types":["CWE-668"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":5.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":1.8,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:N/A:N","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":2.1},"severity":"LOW","exploitabilityScore":3.9,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:google:data_transfer_project:*:*:*:*:*:*:*:*","versionEndExcluding":"0.3.57","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"22572","Ordinal":"197277","Title":"CVE-2021-22572","CVE":"CVE-2021-22572","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"22572","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}