2021-01-08 23:05:14 +00:00
{
"data_type" : "CVE" ,
"data_format" : "MITRE" ,
"data_version" : "4.0" ,
"CVE_data_meta" : {
2021-03-15 18:37:50 +02:00
"ASSIGNER" : "report@snyk.io" ,
"DATE_PUBLIC" : "2021-03-15T16:37:48.658985Z" ,
2021-01-08 23:05:14 +00:00
"ID" : "CVE-2021-23355" ,
2021-03-15 18:37:50 +02:00
"STATE" : "PUBLIC" ,
"TITLE" : "Arbitrary Command Injection"
} ,
"affects" : {
"vendor" : {
"vendor_data" : [
{
"product" : {
"product_data" : [
{
"product_name" : "ps-kill" ,
"version" : {
"version_data" : [
{
"version_affected" : ">=" ,
"version_value" : "0"
}
]
}
}
]
} ,
"vendor_name" : "n/a"
}
]
}
} ,
"problemtype" : {
"problemtype_data" : [
{
"description" : [
{
"lang" : "eng" ,
"value" : "Arbitrary Command Injection"
}
]
}
]
} ,
"references" : {
"reference_data" : [
{
2021-03-15 17:00:44 +00:00
"refsource" : "MISC" ,
"url" : "https://snyk.io/vuln/SNYK-JS-PSKILL-1078529" ,
"name" : "https://snyk.io/vuln/SNYK-JS-PSKILL-1078529"
2021-03-15 18:37:50 +02:00
}
]
2021-01-08 23:05:14 +00:00
} ,
"description" : {
"description_data" : [
{
"lang" : "eng" ,
2021-03-15 17:00:44 +00:00
"value" : "This affects all versions of package ps-kill. If (attacker-controlled) user input is given to the kill function, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization in the index.js file. PoC (provided by reporter): var ps_kill = require('ps-kill'); ps_kill.kill('$(touch success)',function(){});"
2021-01-08 23:05:14 +00:00
}
]
2021-03-15 18:37:50 +02:00
} ,
"impact" : {
"cvss" : {
"version" : "3.1" ,
"vectorString" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P" ,
"baseScore" : 5.6 ,
"baseSeverity" : "MEDIUM" ,
"attackVector" : "NETWORK" ,
"attackComplexity" : "HIGH" ,
"privilegesRequired" : "NONE" ,
"userInteraction" : "NONE" ,
"scope" : "UNCHANGED" ,
"confidentialityImpact" : "LOW" ,
"integrityImpact" : "LOW" ,
"availabilityImpact" : "LOW"
}
} ,
"credit" : [
{
"lang" : "eng" ,
"value" : "OmniTaint"
}
]
2021-01-08 23:05:14 +00:00
}