-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCVE-2017-20146.json
140 lines (140 loc) · 3.97 KB
/
CVE-2017-20146.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
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
{
"schema_version": "1.6.3",
"id": "CVE-2017-20146",
"modified": "2024-05-20T16:03:47Z",
"published": "2021-04-14T20:04:52Z",
"aliases": [
"GO-2020-0020",
"GHSA-jcr6-mmjj-pchw"
],
"related": [],
"summary": "Improper access control in github.com/gorilla/handlers. Usage of the CORS handler may apply improper CORS headers, allowing the requester to explicitly control the value of the Access-Control-Allow-Origin header, which bypasses the expected behavior of the Same Origin Policy. El uso del controlador CORS puede aplicar encabezados CORS inadecuados, lo que permite al solicitante controlar explícitamente el valor del encabezado Access-Control-Allow-Origin, lo que omite el comportamiento esperado de la política del mismo origen",
"details": "Usage of the CORS handler may apply improper CORS headers, allowing the requester to explicitly control the value of the Access-Control-Allow-Origin header, which bypasses the expected behavior of the Same Origin Policy",
"severity": [
{
"type": "CVSS_V3",
"score": "9.8"
}
],
"affected": [
{
"package": {
"ecosystem": "Go",
"name": "github.com/gorilla/handlers"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.3.0"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "github.com/gorilla/handlers",
"symbols": [
"cors.ServeHTTP"
]
}
]
}
}
],
"references": [
{
"type": "WEB",
"url": "https://github.com/gorilla/handlers/pull/116"
},
{
"type": "WEB",
"url": "https://github.com/gorilla/handlers/commit/90663712d74cb411cbef281bc1e08c19d1a76145"
},
{
"type": "WEB",
"url": "https://pkg.go.dev/vuln/GO-2020-0020"
}
],
"credits": [
{
"name": "Evan J Johnson"
}
],
"database_specific": {
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"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
}
]
},
"cwe_details": [
{
"cwe_id": "CWE-346",
"name": "Primary",
"description": "",
"source": "[email protected]",
"url": ""
}
],
"repositories": [
{
"url": "https://github.com/gorilla/handlers",
"name": "gorilla/handlers",
"description": "Package gorilla/handlers is a collection of useful middleware for Go HTTP services & web applications 🛃",
"date_created": "2013-02-01T03:53:49Z",
"date_last_push": "2024-02-20T16:27:20Z",
"owner": "gorilla",
"forks_count": "271",
"stars_count": "1623",
"repo_language": "Go"
}
],
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:gorillatoolkit:handlers:*:*:*:*:*:go:*:*",
"matchCriteriaId": "0731243E-DC58-4998-8161-885D9E0ADF6C",
"versionEndExcluding": "1.3.0"
}
]
}
],
"vulndb_data": {
"url": "https://pkg.go.dev/vuln/GO-2020-0020",
"review_status": "REVIEWED"
},
"datasources": {
"govuln": true,
"nvd": true,
"cvefixes": false
}
}
}