CVE-2020-36564
JSON

7.5high

Improper input validation in github.com/justinas/nosurf

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.78% (higher than 57% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Go
Also known as
GHSA-5x84-q523-vvwrGO-2020-0049

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.

Affected

Product or packageVersionsReported by
github.com/justinas/nosurfbefore 1.1.1CVE List
github.com/justinas/nosurf (Go)before 1.1.1GitHub Advisory Database, Go Vulnerability Database
nosurf_project nosurfbefore 1.1.1NVD

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Classification

CWE-20

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Debido a una validación incorrecta de la entrada de la persona que llama, la validación se desactiva silenciosamente si el token esperado proporcionado tiene un formato incorrecto, lo que hace que cualquier token proporcionado por el usuario se considere válido.

References

Sources

SourceRecordLicence
CVE ListCVE-2020-36564 changed 2025-04-11CVE Terms of Use
GitHub Advisory DatabaseGHSA-5x84-q523-vvwr changed 2023-11-08CC-BY-4.0
Go Vulnerability DatabaseGO-2020-0049 changed 2024-05-20CC-BY-4.0
NVDCVE-2020-36564 changed 2026-06-17Public domain