2022-02-24 15:04:11 +00:00
{
"data_type" : "CVE" ,
"data_format" : "MITRE" ,
"data_version" : "4.0" ,
"CVE_data_meta" : {
2022-11-29 18:45:12 +02:00
"ASSIGNER" : "report@snyk.io" ,
"DATE_PUBLIC" : "2022-11-29T16:45:07.306052Z" ,
2022-02-24 15:04:11 +00:00
"ID" : "CVE-2022-21126" ,
2022-11-29 18:45:12 +02:00
"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" : [
{
2022-11-29 17:00:38 +00:00
"refsource" : "MISC" ,
"url" : "https://security.snyk.io/vuln/SNYK-JAVA-COMGITHUBSAMTOOLS-3149901" ,
"name" : "https://security.snyk.io/vuln/SNYK-JAVA-COMGITHUBSAMTOOLS-3149901"
2022-11-29 18:45:12 +02:00
} ,
{
2022-11-29 17:00:38 +00:00
"refsource" : "MISC" ,
"url" : "https://github.com/samtools/htsjdk/commit/4a4024a97ee3e87096df6ad9b22c8260bd527772" ,
"name" : "https://github.com/samtools/htsjdk/commit/4a4024a97ee3e87096df6ad9b22c8260bd527772"
2022-11-29 18:45:12 +02:00
} ,
{
2022-11-29 17:00:38 +00:00
"refsource" : "MISC" ,
"url" : "https://github.com/samtools/htsjdk/pull/1617" ,
"name" : "https://github.com/samtools/htsjdk/pull/1617"
2022-11-29 18:45:12 +02:00
}
]
2022-02-24 15:04:11 +00:00
} ,
"description" : {
"description_data" : [
{
"lang" : "eng" ,
2022-11-29 17:00:38 +00:00
"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."
2022-02-24 15:04:11 +00:00
}
]
2022-11-29 18:45:12 +02:00
} ,
"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"
}
]
2022-02-24 15:04:11 +00:00
}