Information Exposure Affecting gw2sharp package, versions [,0.3.1)


0.0
medium

Snyk CVSS

    Attack Complexity Low

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-DOTNET-GW2SHARP-536077
  • published 28 Nov 2019
  • disclosed 18 Jun 2019
  • credit Unknown

Introduced: 18 Jun 2019

CVE NOT AVAILABLE CWE-200 Open this link in a new tab

How to fix?

Upgrade Gw2Sharp to version 0.3.1 or higher.

Overview

Gw2Sharp is a .NET wrapper library for the official Guild Wars 2 API.

Affected versions of this package are vulnerable to Information Exposure. When using an instance of MemoryCacheMethod and using it with multiple instances of Gw2WebApiClient, there's a possibility that cached authenticated responses will leak to another request to the same endpoint, but with a different Guild Wars 2 access token. The latter request will not start however, and will return the first cached response immediately. This means that the second response (or later responses) may contain the same data as the first response, therefore leaking data from another authenticated endpoint.

References