2022-02-24 15:04:11 +00:00
{
"data_type" : "CVE" ,
"data_format" : "MITRE" ,
"data_version" : "4.0" ,
"CVE_data_meta" : {
2022-04-01 18:31:43 +01:00
"ASSIGNER" : "report@snyk.io" ,
"DATE_PUBLIC" : "2022-04-01T17:31:42.202835Z" ,
2022-02-24 15:04:11 +00:00
"ID" : "CVE-2022-21223" ,
2022-04-01 18:31:43 +01:00
"STATE" : "PUBLIC" ,
"TITLE" : "Command Injection"
} ,
"affects" : {
"vendor" : {
"vendor_data" : [
{
"product" : {
"product_data" : [
{
"product_name" : "cocoapods-downloader" ,
"version" : {
"version_data" : [
{
"version_affected" : "<" ,
"version_value" : "1.6.2"
}
]
}
}
]
} ,
"vendor_name" : "n/a"
}
]
}
} ,
"problemtype" : {
"problemtype_data" : [
{
"description" : [
{
"lang" : "eng" ,
"value" : "Command Injection"
}
]
}
]
} ,
"references" : {
"reference_data" : [
{
2022-04-01 18:01:28 +00:00
"refsource" : "MISC" ,
"url" : "https://snyk.io/vuln/SNYK-RUBY-COCOAPODSDOWNLOADER-2414280" ,
"name" : "https://snyk.io/vuln/SNYK-RUBY-COCOAPODSDOWNLOADER-2414280"
2022-04-01 18:31:43 +01:00
} ,
{
2022-04-01 18:01:28 +00:00
"refsource" : "MISC" ,
"url" : "https://github.com/CocoaPods/cocoapods-downloader/pull/127" ,
"name" : "https://github.com/CocoaPods/cocoapods-downloader/pull/127"
2022-04-01 18:31:43 +01:00
}
]
2022-02-24 15:04:11 +00:00
} ,
"description" : {
"description_data" : [
{
"lang" : "eng" ,
2022-04-01 18:01:28 +00:00
"value" : "The package cocoapods-downloader before 1.6.2 are vulnerable to Command Injection via hg argument injection. When calling the download function (when using hg), the url (and/or revision, tag, branch) is passed to the hg clone command in a way that additional flags can be set. The additional flags can be used to perform a command injection."
2022-02-24 15:04:11 +00:00
}
]
2022-04-01 18:31:43 +01:00
} ,
"impact" : {
"cvss" : {
"version" : "3.1" ,
"vectorString" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H" ,
"baseScore" : 8.1 ,
"baseSeverity" : "HIGH" ,
"attackVector" : "NETWORK" ,
"attackComplexity" : "HIGH" ,
"privilegesRequired" : "NONE" ,
"userInteraction" : "NONE" ,
"scope" : "UNCHANGED" ,
"confidentialityImpact" : "HIGH" ,
"integrityImpact" : "HIGH" ,
"availabilityImpact" : "HIGH"
}
} ,
"credit" : [
{
"lang" : "eng" ,
"value" : "Alessio Della Libera of Snyk Research Team"
}
]
2022-02-24 15:04:11 +00:00
}