Information Exposure Affecting github.com/justinas/nosurf package, versions <1.1.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 IDSNYK-GOLANG-GITHUBCOMJUSTINASNOSURF-598872
  • published16 Sept 2020
  • disclosed18 Aug 2020
  • creditaeneasr

Introduced: 18 Aug 2020

CVE NOT AVAILABLE CWE-200  (opens in a new tab)

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.

CVSS Scores

version 3.1