-
Notifications
You must be signed in to change notification settings - Fork 293
/
GHSA-7627-mp87-jf6q.json
97 lines (97 loc) · 2.51 KB
/
GHSA-7627-mp87-jf6q.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"schema_version": "1.4.0",
"id": "GHSA-7627-mp87-jf6q",
"modified": "2023-01-27T05:01:18Z",
"published": "2022-04-02T00:00:13Z",
"aliases": [
"CVE-2022-24440"
],
"summary": "Command injection in cocoapods-downloader",
"details": "The package cocoapods-downloader before 1.6.0, from 1.6.2 and before 1.6.3 are vulnerable to Command Injection via git argument injection. When calling the Pod::Downloader.preprocess_options function and using git, both the git and branch parameters are passed to the git ls-remote subcommand in a way that additional flags can be set. The additional flags can be used to perform a command injection.",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"package": {
"ecosystem": "RubyGems",
"name": "cocoapods-downloader"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.6.0"
}
]
}
]
},
{
"package": {
"ecosystem": "RubyGems",
"name": "cocoapods-downloader"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "1.6.2"
},
{
"fixed": "1.6.3"
}
]
}
]
}
],
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-24440"
},
{
"type": "WEB",
"url": "https://github.com/CocoaPods/cocoapods-downloader/pull/124"
},
{
"type": "WEB",
"url": "https://github.com/CocoaPods/cocoapods-downloader/pull/128"
},
{
"type": "WEB",
"url": "https://github.com/CocoaPods/cocoapods-downloader/commit/52a0d54464932a90ded5a59c71a016e8dec0ca84"
},
{
"type": "WEB",
"url": "https://github.com/CocoaPods/cocoapods-downloader/commit/b70bc39c75645aa6d4a01a3ca6de40477c84f4b5"
},
{
"type": "PACKAGE",
"url": "https://github.com/CocoaPods/cocoapods-downloader"
},
{
"type": "WEB",
"url": "https://snyk.io/vuln/SNYK-RUBY-COCOAPODSDOWNLOADER-2414278"
}
],
"database_specific": {
"cwe_ids": [
"CWE-74",
"CWE-88"
],
"severity": "HIGH",
"github_reviewed": true,
"github_reviewed_at": "2022-04-04T21:58:52Z",
"nvd_published_at": "2022-04-01T18:15:00Z"
}
}