Vulnerability · Published Dec 27, 2022 · Assigned by Go
CVE-2020-36564Improper input validation in github.com/justinas/nosurf
High 7.5
In plain English
A high-severity security flaw in github.com/justinas/nosurf from github.com/justinas/nosurf. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.8%top 43.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/justinas/nosurf | 1.1.1 | GHSA-5x84-q523-vvwr |
| Go | github.com/justinas/nosurf | 1.1.1 | GO-2020-0049 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| github.com/justinas/nosurf | github.com/justinas/nosurf | 0 – before 1.1.1 |