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


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.15% (53rd percentile)

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-DOTNET-DISCATSHARP-2764986
  • published15 Apr 2022
  • disclosed15 Apr 2022
  • creditUnknown

Introduced: 15 Apr 2022

CVE-2022-24849  (opens in a new tab)
CWE-200  (opens in a new tab)

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

CVSS Scores

version 3.1