From ea001efe27223c986f8408367204a79ada7a7a19 Mon Sep 17 00:00:00 2001 From: Tony Narlock Date: Mon, 14 Mar 2022 19:20:13 -0500 Subject: [PATCH] Improve GHSA-mv2w-4jqc-6fg4 --- .../GHSA-mv2w-4jqc-6fg4.json | 50 +++++++++++++++++-- 1 file changed, 46 insertions(+), 4 deletions(-) diff --git a/advisories/unreviewed/2022/03/GHSA-mv2w-4jqc-6fg4/GHSA-mv2w-4jqc-6fg4.json b/advisories/unreviewed/2022/03/GHSA-mv2w-4jqc-6fg4/GHSA-mv2w-4jqc-6fg4.json index 7fbfbb69b5f89..e46c873a3c18b 100644 --- a/advisories/unreviewed/2022/03/GHSA-mv2w-4jqc-6fg4/GHSA-mv2w-4jqc-6fg4.json +++ b/advisories/unreviewed/2022/03/GHSA-mv2w-4jqc-6fg4/GHSA-mv2w-4jqc-6fg4.json @@ -1,17 +1,55 @@ { "schema_version": "1.2.0", "id": "GHSA-mv2w-4jqc-6fg4", - "modified": "2022-03-15T00:00:53Z", + "modified": "2022-03-15T00:20:13Z", "published": "2022-03-15T00:00:53Z", "aliases": [ "CVE-2022-21187" ], - "details": "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.", + "summary": "Command Injection via argument in mercurial repositories", + "details": "The package libvcs before 0.11.1 are vulnerable to Command Injection via argument injection. When calling the `MercurialRepo.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.", "severity": [ ], "affected": [ - + { + "package": { + "ecosystem": "PyPI", + "name": "libvcs" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "0.11.1" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "PyPI", + "name": "vcspull" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "1.11.1" + } + ] + } + ] + } ], "references": [ { @@ -29,13 +67,17 @@ { "type": "WEB", "url": "https://snyk.io/vuln/SNYK-PYTHON-LIBVCS-2421204" + }, + { + "type": "PACKAGE", + "url": "https://github.com/vcs-python/libvcs" } ], "database_specific": { "cwe_ids": [ ], - "severity": null, + "severity": "HIGH", "github_reviewed": false } } \ No newline at end of file