Information Exposure Affecting github.com/justinas/nosurf package, versions <1.1.1
Snyk CVSS
Attack Complexity
Low
User Interaction
Required
Confidentiality
High
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-598872
- published 16 Sep 2020
- disclosed 18 Aug 2020
- credit aeneasr
How 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 Information Exposure. An attacker could trick the first parameter (realToken) into being an arbitrary value.