GSD-2017-20146
Vulnerability from gsd - Updated: 2023-12-13 01:21Details
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.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2017-20146",
"id": "GSD-2017-20146"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2017-20146"
],
"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.",
"id": "GSD-2017-20146",
"modified": "2023-12-13T01:21:03.023191Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "security@golang.org",
"ID": "CVE-2017-20146",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "github.com/gorilla/handlers",
"version": {
"version_data": [
{
"version_affected": "\u003c",
"version_name": "0",
"version_value": "1.3.0"
}
]
}
}
]
},
"vendor_name": "github.com/gorilla/handlers"
}
]
}
},
"credits": [
{
"lang": "en",
"value": "Evan J Johnson"
}
],
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "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."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE 284: Improper Access Control"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/gorilla/handlers/pull/116",
"refsource": "MISC",
"url": "https://github.com/gorilla/handlers/pull/116"
},
{
"name": "https://github.com/gorilla/handlers/commit/90663712d74cb411cbef281bc1e08c19d1a76145",
"refsource": "MISC",
"url": "https://github.com/gorilla/handlers/commit/90663712d74cb411cbef281bc1e08c19d1a76145"
},
{
"name": "https://pkg.go.dev/vuln/GO-2020-0020",
"refsource": "MISC",
"url": "https://pkg.go.dev/vuln/GO-2020-0020"
}
]
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003cv1.3.0",
"affected_versions": "All versions before 1.3.0",
"cwe_ids": [
"CWE-1035",
"CWE-937"
],
"date": "2022-12-30",
"description": "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.",
"fixed_versions": [
"v1.3.0"
],
"identifier": "CVE-2017-20146",
"identifiers": [
"GHSA-jcr6-mmjj-pchw",
"CVE-2017-20146"
],
"not_impacted": "All versions starting from 1.3.0",
"package_slug": "go/github.com/gorilla/handlers",
"pubdate": "2022-12-28",
"solution": "Upgrade to version 1.3.0 or above.",
"title": "gorilla/handlers may allow requester to bypass expected behavior of the Same Origin Policy",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2017-20146",
"https://github.com/gorilla/handlers/pull/116",
"https://github.com/gorilla/handlers/commit/90663712d74cb411cbef281bc1e08c19d1a76145",
"https://pkg.go.dev/vuln/GO-2020-0020",
"https://github.com/advisories/GHSA-jcr6-mmjj-pchw"
],
"uuid": "1e59a6f9-389c-49a5-b6de-3298ca4ed843",
"versions": [
{
"commit": {
"sha": "90663712d74cb411cbef281bc1e08c19d1a76145",
"tags": [
"v1.3.0"
],
"timestamp": "20171101174335"
},
"number": "v1.3.0"
}
]
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:gorillatoolkit:handlers:*:*:*:*:*:go:*:*",
"cpe_name": [],
"versionEndExcluding": "1.3.0",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "security@golang.org",
"ID": "CVE-2017-20146"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "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."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-346"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/gorilla/handlers/commit/90663712d74cb411cbef281bc1e08c19d1a76145",
"refsource": "MISC",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/gorilla/handlers/commit/90663712d74cb411cbef281bc1e08c19d1a76145"
},
{
"name": "https://github.com/gorilla/handlers/pull/116",
"refsource": "MISC",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/gorilla/handlers/pull/116"
},
{
"name": "https://pkg.go.dev/vuln/GO-2020-0020",
"refsource": "MISC",
"tags": [
"Third Party Advisory"
],
"url": "https://pkg.go.dev/vuln/GO-2020-0020"
}
]
}
},
"impact": {
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 5.9
}
},
"lastModifiedDate": "2023-01-06T16:26Z",
"publishedDate": "2022-12-27T22:15Z"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…