CVE-2020-36564
HIGH 7.5CVSS 3.1nosurf vulnerable to improper input validation
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.
- Published
- 27 Dec 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security@golang.org
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-5x84-q523-vvwrGO-2020-0049
- Sources
- NVDJSONOSV GHSA-5x84-q523-vvwrJSONOSV GO-2020-0049JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nosurf_project | nosurfcpe:2.3:a:nosurf_project:nosurf:*:*:*:*:*:go:*:* |
< 1.1.1 | 1.1.1 |
| OSV | Go | github.com/justinas/nosurf | < 1.1.1 | 1.1.1 |
References
- https://github.com/justinas/nosurf/commit/4d86df7a4affa1fa50ab39fb09aac56c3ce9c314 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/justinas/nosurf/pull/60 · Patch, Third Party Advisory, WEB, FIX
- https://pkg.go.dev/vuln/GO-2020-0049 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-36564 · ADVISORY
- https://github.com/justinas/nosurf · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 27 Dec 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Apr 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 28 Dec 2022)