{ "data_type": "CVE", "data_format": "MITRE", "data_version": "4.0", "CVE_data_meta": { "ASSIGNER": "report@snyk.io", "DATE_PUBLIC": "2022-11-29T16:45:07.306052Z", "ID": "CVE-2022-21126", "STATE": "PUBLIC", "TITLE": "Creation of Temporary File in Directory with Insecure Permissions" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "com.github.samtools:htsjdk", "version": { "version_data": [ { "version_affected": "<", "version_value": "3.0.1" } ] } } ] }, "vendor_name": "n/a" } ] } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "Creation of Temporary File in Directory with Insecure Permissions" } ] } ] }, "references": { "reference_data": [ { "refsource": "MISC", "url": "https://security.snyk.io/vuln/SNYK-JAVA-COMGITHUBSAMTOOLS-3149901", "name": "https://security.snyk.io/vuln/SNYK-JAVA-COMGITHUBSAMTOOLS-3149901" }, { "refsource": "MISC", "url": "https://github.com/samtools/htsjdk/commit/4a4024a97ee3e87096df6ad9b22c8260bd527772", "name": "https://github.com/samtools/htsjdk/commit/4a4024a97ee3e87096df6ad9b22c8260bd527772" }, { "refsource": "MISC", "url": "https://github.com/samtools/htsjdk/pull/1617", "name": "https://github.com/samtools/htsjdk/pull/1617" } ] }, "description": { "description_data": [ { "lang": "eng", "value": "The package com.github.samtools:htsjdk before 3.0.1 are vulnerable to Creation of Temporary File in Directory with Insecure Permissions due to the createTempDir() function in util/IOUtil.java not checking for the existence of the temporary directory before attempting to create it." } ] }, "impact": { "cvss": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L", "baseScore": 7.3, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW" } }, "credit": [ { "lang": "eng", "value": "Jonathan Leitschuh" } ] }