Improper Input Validation Affecting github.com/justinas/nosurf package, versions <1.1.1
Threat Intelligence
EPSS
0.07% (32nd
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-GOLANG-GITHUBCOMJUSTINASNOSURF-3121917
- published 16 Nov 2022
- disclosed 14 Apr 2021
- credit @aeneasr
Introduced: 14 Apr 2021
CVE-2020-36564 Open this link in a new tabHow to fix?
Upgrade github.com/justinas/nosurf to version 1.1.1 or higher.
Overview
github.com/justinas/nosurf is a HTTP package for Go that helps you prevent Cross-Site Request Forgery attacks.
Affected versions of this package are 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.
References
CVSS Scores
version 3.1