GitHub Advisoryadvisory · NuGet

GHSA-frxg-hf44-q765 Exposure of Sensitive Information to an Unauthorized Actor in DisCatSharp

MEDIUM Published 2022-04-22 Modified 2022-04-22 Official page ↗
Aliases
CVE-2022-24849
Ecosystem
NuGet
Packages
DisCatSharp
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Weaknesses
CWE-200
Reviewed
2022-04-22

Affected packages

• NuGet DisCatSharp: >= 9.8.5, < 9.9.1 → fixed in 9.9.1

Description

Impact Users of versions 9.8.5, 9.8.6, 9.9.0 and previously published prereleases of 10.0.0 who have used either one of the two `RequireDisCatSharpDeveloperAttribute`s or the `BaseDiscordClient.LibraryDeveloperTeam` have potentially had their bot token sent to a web server not affiliated with Discord. This server is owned and operated by DisCatSharp's development team. The tokens were not logged, yet it is still advisable to reset the tokens of potentially affected bots. Patches 9.9.1 has been released to patch the issue for the current stable release and the current 10.0.0 prereleases are also no longer affected. Workarounds Remove all uses of the two `RequireDisCatSharpDeveloperAttribute`s and all direct calls to `BaseDiscordClient.LibraryDeveloperTeam`. Details The `HttpClient` responsible for sending requests to the Discord API was erroneously reused to send requests to our website when DisCatSharp's team members were to be fetched. For more information If you have any questions or comments about this advisory: • Join our Discord server • Email us at [email protected]

Related

Alias · CVE (1)

  • CVE-2022-24849 DisCatSharp is a Discord API wrapper for .NET. vulnerability

Weakness · CWE (1)

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness

References