GSD-2020-36564
Vulnerability from gsd - Updated: 2023-12-13 01:21Details
Due to improper validation of caller input, validation is silently disabled if the provided expected token is malformed, causing any user supplied token to be considered valid.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2020-36564",
"id": "GSD-2020-36564"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2020-36564"
],
"details": "Due to improper validation of caller input, validation is silently disabled if the provided expected token is malformed, causing any user supplied token to be considered valid.",
"id": "GSD-2020-36564",
"modified": "2023-12-13T01:21:55.538133Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "security@golang.org",
"ID": "CVE-2020-36564",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "github.com/justinas/nosurf",
"version": {
"version_data": [
{
"version_affected": "\u003c",
"version_name": "0",
"version_value": "1.1.1"
}
]
}
}
]
},
"vendor_name": "github.com/justinas/nosurf"
}
]
}
},
"credits": [
{
"lang": "en",
"value": "@aeneasr"
}
],
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "Due to improper validation of caller input, validation is silently disabled if the provided expected token is malformed, causing any user supplied token to be considered valid."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE 345: Insufficient Verification of Data Authenticity"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/justinas/nosurf/pull/60",
"refsource": "MISC",
"url": "https://github.com/justinas/nosurf/pull/60"
},
{
"name": "https://github.com/justinas/nosurf/commit/4d86df7a4affa1fa50ab39fb09aac56c3ce9c314",
"refsource": "MISC",
"url": "https://github.com/justinas/nosurf/commit/4d86df7a4affa1fa50ab39fb09aac56c3ce9c314"
},
{
"name": "https://pkg.go.dev/vuln/GO-2020-0049",
"refsource": "MISC",
"url": "https://pkg.go.dev/vuln/GO-2020-0049"
}
]
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003cv1.1.1",
"affected_versions": "All versions before 1.1.1",
"cwe_ids": [
"CWE-1035",
"CWE-937"
],
"date": "2022-12-30",
"description": "Due to improper validation of caller input, validation is silently disabled if the provided expected token is malformed, causing any user supplied token to be considered valid.",
"fixed_versions": [
"v1.1.1"
],
"identifier": "CVE-2020-36564",
"identifiers": [
"GHSA-5x84-q523-vvwr",
"CVE-2020-36564"
],
"not_impacted": "All versions starting from 1.1.1",
"package_slug": "go/github.com/justinas/nosurf",
"pubdate": "2022-12-28",
"solution": "Upgrade to version 1.1.1 or above.",
"title": "nosurf vulnerable to improper input validation",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2020-36564",
"https://github.com/justinas/nosurf/pull/60",
"https://github.com/justinas/nosurf/commit/4d86df7a4affa1fa50ab39fb09aac56c3ce9c314",
"https://pkg.go.dev/vuln/GO-2020-0049",
"https://github.com/advisories/GHSA-5x84-q523-vvwr"
],
"uuid": "ef2f245a-5b4b-4581-816c-11b170546cbb",
"versions": [
{
"commit": {
"sha": "4d86df7a4affa1fa50ab39fb09aac56c3ce9c314",
"tags": [
"v1.1.1"
],
"timestamp": "20200830150032"
},
"number": "v1.1.1"
}
]
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:nosurf_project:nosurf:*:*:*:*:*:go:*:*",
"cpe_name": [],
"versionEndExcluding": "1.1.1",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "security@golang.org",
"ID": "CVE-2020-36564"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "Due to improper validation of caller input, validation is silently disabled if the provided expected token is malformed, causing any user supplied token to be considered valid."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-20"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://pkg.go.dev/vuln/GO-2020-0049",
"refsource": "MISC",
"tags": [
"Third Party Advisory"
],
"url": "https://pkg.go.dev/vuln/GO-2020-0049"
},
{
"name": "https://github.com/justinas/nosurf/commit/4d86df7a4affa1fa50ab39fb09aac56c3ce9c314",
"refsource": "MISC",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/justinas/nosurf/commit/4d86df7a4affa1fa50ab39fb09aac56c3ce9c314"
},
{
"name": "https://github.com/justinas/nosurf/pull/60",
"refsource": "MISC",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/justinas/nosurf/pull/60"
}
]
}
},
"impact": {
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6
}
},
"lastModifiedDate": "2023-01-06T01:27Z",
"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…