-
Notifications
You must be signed in to change notification settings - Fork 291
/
GHSA-v84h-653v-4pq9.json
68 lines (66 loc) · 1.98 KB
/
GHSA-v84h-653v-4pq9.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
{
"schema_version": "1.4.0",
"id": "GHSA-v84h-653v-4pq9",
"modified": "2024-05-21T15:39:20Z",
"published": "2024-05-03T17:34:21Z",
"aliases": [
],
"summary": "Some CORS middleware allow untrusted origins",
"details": "### Impact\n\nSome CORS middleware (more specifically those created by specifying two or more origin patterns whose hosts share a proper suffix) incorrectly allow some untrusted origins, thereby opening the door to cross-origin attacks from the untrusted origins in question.\n\nFor example, specifying origin patterns `https://foo.com` and `https://bar.com` (in that order) would yield a middleware that would incorrectly allow untrusted origin `https://barfoo.com`.\n\n### Patches\n\nPatched in v0.9.0.\n\n### Workarounds\n\nNone.\n",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N"
}
],
"affected": [
{
"package": {
"ecosystem": "Go",
"name": "github.com/jub0bs/fcors"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.9.0"
}
]
}
],
"database_specific": {
"last_known_affected_version_range": "<= 0.8.0"
}
}
],
"references": [
{
"type": "WEB",
"url": "https://github.com/jub0bs/fcors/security/advisories/GHSA-v84h-653v-4pq9"
},
{
"type": "WEB",
"url": "https://github.com/jub0bs/fcors/commit/08d85c149a418a583315cee066d4a35cc817219d"
},
{
"type": "WEB",
"url": "https://github.com/jub0bs/fcors/commit/b5dcb889a49def37d7d9c25deb7135f4eb45625e"
},
{
"type": "PACKAGE",
"url": "https://github.com/jub0bs/fcors"
}
],
"database_specific": {
"cwe_ids": [
],
"severity": "CRITICAL",
"github_reviewed": true,
"github_reviewed_at": "2024-05-03T17:34:21Z",
"nvd_published_at": null
}
}