summaryrefslogtreecommitdiff
path: root/spec/fixtures/security_reports/master/gl-common-scanning-report.json
blob: cf4c5239b57db5d1e78f66882b99474af7f55dbb (plain)
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
    "vulnerabilities": [
        {
            "category": "dependency_scanning",
            "name": "Vulnerabilities in libxml2",
            "message": "Vulnerabilities in libxml2 in nokogiri",
            "description": "",
            "cve": "CVE-1020",
            "severity": "High",
            "solution": "Upgrade to latest version.",
            "scanner": {
                "id": "gemnasium",
                "name": "Gemnasium"
            },
            "location": {},
            "identifiers": [
                {
                    "type": "GitLab",
                    "name": "Foo vulnerability",
                    "value": "foo"
                }
            ],
            "links": [
                {
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-1020"
                }
            ],
            "details": {
                "commit": {
                    "name": [
                        {
                            "lang": "en",
                            "value": "The Commit"
                        }
                    ],
                    "description": [
                        {
                            "lang": "en",
                            "value": "Commit where the vulnerability was identified"
                        }
                    ],
                    "type": "commit",
                    "value": "41df7b7eb3be2b5be2c406c2f6d28cd6631eeb19"
                }
            }
        },
        {
            "id": "bb2fbeb1b71ea360ce3f86f001d4e84823c3ffe1a1f7d41ba7466b14cfa953d3",
            "category": "dependency_scanning",
            "name": "Regular Expression Denial of Service",
            "message": "Regular Expression Denial of Service in debug",
            "description": "",
            "cve": "CVE-1030",
            "severity": "Unknown",
            "solution": "Upgrade to latest versions.",
            "scanner": {
                "id": "gemnasium",
                "name": "Gemnasium"
            },
            "location": {},
            "identifiers": [
                {
                    "type": "GitLab",
                    "name": "Bar vulnerability",
                    "value": "bar"
                }
            ],
            "links": [
                {
                  "name": "CVE-1030",
                  "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-1030"
                }
            ]
        },
        {
            "category": "dependency_scanning",
            "name": "Authentication bypass via incorrect DOM traversal and canonicalization",
            "message": "Authentication bypass via incorrect DOM traversal and canonicalization in saml2-js",
            "description": "",
            "cve": "yarn/yarn.lock:saml2-js:gemnasium:9952e574-7b5b-46fa-a270-aeb694198a98",
            "severity": "Unknown",
            "solution": "Upgrade to fixed version.\r\n",
            "scanner": {
                "id": "gemnasium",
                "name": "Gemnasium"
            },
            "location": {},
            "identifiers": [],
            "links": [
            ]
        }
    ],
    "remediations": [
        {
            "fixes": [
                {
                    "cve": "CVE-1020"
                }
            ],
            "summary": "",
            "diff": ""
        },
        {
            "fixes": [
                {
                    "cve": "CVE",
                    "id": "bb2fbeb1b71ea360ce3f86f001d4e84823c3ffe1a1f7d41ba7466b14cfa953d3"
                }
            ],
            "summary": "",
            "diff": ""
        },
        {
            "fixes": [
                {
                    "cve": "CVE",
                    "id": "bb2fbeb1b71ea360ce3f86f001d4e84823c3ffe1a1f7d41ba7466b14cfa953d3"
                }
            ],
            "summary": "",
            "diff": ""
        },
        {
            "fixes": [
                {
                    "id": "2134",
                    "cve": "CVE-1"
                }
            ],
            "summary": "",
            "diff": ""
        }
    ],
    "dependency_files": [],
    "scan": {
      "analyzer": {
          "id": "common-analyzer",
          "name": "Common Analyzer",
          "url": "https://site.com/analyzer/common",
          "version": "2.0.1",
          "vendor": {
            "name": "Common"
          }
        },
        "scanner": {
            "id": "gemnasium",
            "name": "Gemnasium",
            "url": "https://gitlab.com/gitlab-org/security-products/analyzers/gemnasium-maven",
            "vendor": {
                "name": "GitLab"
            },
            "version": "2.18.0"
        },
        "type": "dependency_scanning",
        "start_time": "placeholder-value",
        "end_time": "placeholder-value",
        "status": "success"
    },
    "version": "14.0.2"
}