Improper input validation in Github.com/justinas/nosurf
CVE-2020-36564
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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.008, 56.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Github.com/justinas/nosurf — versions 0
- Nosurf Project
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (Live-Hack-CVE/CVE-2020-36564). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/justinas/nosurf/pull/60 (Patch, Third Party Advisory)
- github.com/justinas/nosurf/commit/4d86df7a4affa1fa50ab39fb09aac56c3ce9c314 (Patch, Third Party Advisory)
- pkg.go.dev/vuln/GO-2020-0049 (Third Party Advisory)