Information Exposure Affecting discatsharp package, versions [9.8.5,9.9.1)
Snyk CVSS
Attack Complexity
Low
User Interaction
Required
Confidentiality
High
Threat Intelligence
EPSS
0.15% (51st
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 ID SNYK-DOTNET-DISCATSHARP-2764986
- published 15 Apr 2022
- disclosed 15 Apr 2022
- credit Unknown
Introduced: 15 Apr 2022
CVE-2022-24849 Open this link in a new tabHow 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 RequireDisCatSharpDeveloperAttribute
s 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 RequireDisCatSharpDeveloperAttribute
s and all direct calls to BaseDiscordClient.LibraryDeveloperTeam
.