Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d184017

Browse files
1 parent 1d6ccba commit d184017

File tree

2 files changed

+94
-41
lines changed

2 files changed

+94
-41
lines changed
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
{
2+
"schema_version": "1.2.0",
3+
"id": "GHSA-mv2w-4jqc-6fg4",
4+
"modified": "2022-03-15T17:05:10Z",
5+
"published": "2022-03-15T00:00:53Z",
6+
"aliases": [
7+
"CVE-2022-21187"
8+
],
9+
"summary": "Command injection in libvcs and vcspull",
10+
"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.",
11+
"severity": [
12+
{
13+
"type": "CVSS_V3",
14+
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "PyPI",
21+
"name": "libvcs"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "0"
29+
},
30+
{
31+
"fixed": "0.11.1"
32+
}
33+
]
34+
}
35+
]
36+
},
37+
{
38+
"package": {
39+
"ecosystem": "PyPI",
40+
"name": "vcspull"
41+
},
42+
"ranges": [
43+
{
44+
"type": "ECOSYSTEM",
45+
"events": [
46+
{
47+
"introduced": "0"
48+
},
49+
{
50+
"fixed": "1.11.1"
51+
}
52+
]
53+
}
54+
]
55+
}
56+
],
57+
"references": [
58+
{
59+
"type": "ADVISORY",
60+
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-21187"
61+
},
62+
{
63+
"type": "WEB",
64+
"url": "https://github.com/vcs-python/libvcs/pull/306"
65+
},
66+
{
67+
"type": "WEB",
68+
"url": "https://github.com/vcs-python/vcspull/commit/e1b77128a1fa0754625b5f43d8bc47956f21f33e"
69+
},
70+
{
71+
"type": "WEB",
72+
"url": "https://github.com/vcs-python/libvcs/blob/master/CHANGES#libvcs-0111-2022-03-12"
73+
},
74+
{
75+
"type": "WEB",
76+
"url": "https://github.com/vcs-python/libvcs/blob/v0.11.1/CHANGES%23libvcs-0111-2022-03-12"
77+
},
78+
{
79+
"type": "WEB",
80+
"url": "https://github.com/vcs-python/vcspull/blob/master/CHANGES#vcspull-1111-2022-03-12"
81+
},
82+
{
83+
"type": "WEB",
84+
"url": "https://snyk.io/vuln/SNYK-PYTHON-LIBVCS-2421204"
85+
}
86+
],
87+
"database_specific": {
88+
"cwe_ids": [
89+
"CWE-74"
90+
],
91+
"severity": "HIGH",
92+
"github_reviewed": true
93+
}
94+
}

advisories/unreviewed/2022/03/GHSA-mv2w-4jqc-6fg4/GHSA-mv2w-4jqc-6fg4.json

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)