Information Exposure Affecting github.com/justinas/nosurf Open this link in a new tab package, versions <1.1.1


0.0
medium
  • 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

Introduced: 18 Aug 2020

CWE-200 Open this link 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.