2024-04-04 08:46:00 +00:00

141 lines
4.2 KiB
JSON

{
"id": "CVE-2022-21187",
"sourceIdentifier": "report@snyk.io",
"published": "2022-03-14T18:15:07.917",
"lastModified": "2023-08-08T14:21:49.707",
"vulnStatus": "Analyzed",
"descriptions": [
{
"lang": "en",
"value": "The package libvcs before 0.11.1 are vulnerable to Command Injection via argument injection. When calling the update_repo function (when using hg), the url parameter is passed to the hg clone command. By injecting some hg options it was possible to get arbitrary command execution."
},
{
"lang": "es",
"value": "El paquete libvcs versiones anteriores a 0.11.1, es vulnerable a una Inyecci\u00f3n de Comandos por medio de una inyecci\u00f3n de argumentos. Cuando es llamado a la funci\u00f3n update_repo (cuando es usado hg), el par\u00e1metro url es pasado al comando hg clone. Inyectando algunas opciones de hg era posible conseguir una ejecuci\u00f3n arbitraria de comandos"
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "nvd@nist.gov",
"type": "Primary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL"
},
"exploitabilityScore": 3.9,
"impactScore": 5.9
},
{
"source": "report@snyk.io",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"attackVector": "NETWORK",
"attackComplexity": "HIGH",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH",
"baseScore": 8.1,
"baseSeverity": "HIGH"
},
"exploitabilityScore": 2.2,
"impactScore": 5.9
}
],
"cvssMetricV2": [
{
"source": "nvd@nist.gov",
"type": "Primary",
"cvssData": {
"version": "2.0",
"vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
"accessVector": "NETWORK",
"accessComplexity": "LOW",
"authentication": "NONE",
"confidentialityImpact": "PARTIAL",
"integrityImpact": "PARTIAL",
"availabilityImpact": "PARTIAL",
"baseScore": 7.5
},
"baseSeverity": "HIGH",
"exploitabilityScore": 10.0,
"impactScore": 6.4,
"acInsufInfo": false,
"obtainAllPrivilege": false,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": false,
"userInteractionRequired": false
}
]
},
"weaknesses": [
{
"source": "nvd@nist.gov",
"type": "Primary",
"description": [
{
"lang": "en",
"value": "CWE-88"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:libvcs_project:libvcs:*:*:*:*:*:*:*:*",
"versionEndExcluding": "0.11.1",
"matchCriteriaId": "68AF5BFC-0335-46CE-B78A-CD0A44A4E1AE"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/vcs-python/libvcs/blob/v0.11.1/CHANGES%23libvcs-0111-2022-03-12",
"source": "report@snyk.io",
"tags": [
"Release Notes",
"Third Party Advisory"
]
},
{
"url": "https://github.com/vcs-python/libvcs/pull/306",
"source": "report@snyk.io",
"tags": [
"Patch",
"Third Party Advisory"
]
},
{
"url": "https://snyk.io/vuln/SNYK-PYTHON-LIBVCS-2421204",
"source": "report@snyk.io",
"tags": [
"Third Party Advisory"
]
}
]
}