Information Exposure Affecting discatsharp Open this link in a new tab package, versions [9.8.5,9.9.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-DOTNET-DISCATSHARP-2764986

  • published

    15 Apr 2022

  • disclosed

    15 Apr 2022

  • credit

    Unknown

How to fix?

Upgrade DisCatSharp to version 9.9.1 or higher.

Overview

DisCatSharp is a C# API/Framework for Discord Bots.

Affected versions of this package are vulnerable to Information Exposure when using RequireDisCatSharpDeveloperAttributes or the BaseDiscordClient.LibraryDeveloperTeam. It is potentially possible the bot tokens are sent to a web server not affiliated with Discord.

Workaround: If users are unable to upgrade, it is recommended to remove all uses of the two RequireDisCatSharpDeveloperAttributes and all direct calls to BaseDiscordClient.LibraryDeveloperTeam.

References