Information Exposure Affecting discatsharp package, versions [9.8.5,9.9.1)


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required
    Confidentiality High

    Threat Intelligence

    EPSS 0.15% (51st percentile)
Expand this section
NVD
6.5 medium

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