Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1mcnhnLWhmNDQtcTc2Nc0_ow
Exposure of Sensitive Information to an Unauthorized Actor in DisCatSharp
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]
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1mcnhnLWhmNDQtcTc2Nc0_ow
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 2 years ago
Updated: almost 2 years ago
CVSS Score: 6.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Identifiers: GHSA-frxg-hf44-q765, CVE-2022-24849
References:
- https://github.com/Aiko-IT-Systems/DisCatSharp/security/advisories/GHSA-frxg-hf44-q765
- https://nvd.nist.gov/vuln/detail/CVE-2022-24849
- https://github.com/advisories/GHSA-frxg-hf44-q765
Blast Radius: 1.0
Affected Packages
nuget:DisCatSharp
Dependent packages: 13Dependent repositories: 0
Downloads: 1,527,769 total
Affected Version Ranges: >= 9.8.5, < 9.9.1
Fixed in: 9.9.1
All affected versions: 9.8.5, 9.8.6, 9.9.0
All unaffected versions: 9.5.8, 9.6.0, 9.6.1, 9.6.2, 9.7.0, 9.8.0, 9.8.2, 9.8.3, 9.8.4, 9.9.1, 9.9.2, 10.0.0, 10.1.0, 10.1.1, 10.1.2, 10.1.3, 10.1.4, 10.2.0, 10.3.0, 10.3.1, 10.3.2, 10.4.0, 10.4.1, 10.5.0, 10.6.0, 10.6.1, 10.6.2, 10.6.3, 10.6.4