GHSA-frxg-hf44-q765

Source
https://github.com/advisories/GHSA-frxg-hf44-q765
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-frxg-hf44-q765/GHSA-frxg-hf44-q765.json
Aliases
  • CVE-2022-24849
Published
2022-04-22T20:39:47Z
Modified
2023-11-08T04:08:38.619199Z
Details

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 RequireDisCatSharpDeveloperAttributes 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 RequireDisCatSharpDeveloperAttributes 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 ottero@aitsys.dev

References

Affected packages

NuGet / DisCatSharp

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
9.8.5
Fixed
9.9.1

Affected versions

9.*

9.8.5
9.8.6-nightly-00261
9.8.6-nightly-00262
9.8.6-nightly-00263
9.8.6
9.8.7-nightly-00267
9.8.7-nightly-00268
9.8.7-nightly-00269
9.8.7-nightly-00270
9.8.7-nightly-00271
9.8.7-nightly-00272
9.8.7-nightly-00273
9.8.7-nightly-00274
9.8.7-nightly-00276
9.8.7-nightly-00277
9.8.7-nightly-00278
9.8.7-nightly-00279
9.8.7-nightly-00280
9.8.7-nightly-00281
9.8.7-nightly-00282
9.8.7-nightly-00283
9.8.7-nightly-00284
9.8.7-nightly-00285
9.9.0