{"id":"CVE-2022-24849","aliases":["EUVD-2022-1725","GHSA-frxg-hf44-q765"],"status":"published","title":"Contact to DisCatSharp-owned server using authenticated client","description":"DisCatSharp is a Discord API wrapper for .NET. 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. 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. Users unable to upgrade should remove all uses of the two `RequireDisCatSharpDeveloperAttribute`s and all direct calls to `BaseDiscordClient.LibraryDeveloperTeam`.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.0088,"percentile":0.59417,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-200"],"published":"2022-04-14T21:25:14Z","modified":"2026-06-17T04:32:39Z","fixes":[{"ecosystem":"NuGet","package":"DisCatSharp","fixed_in":["9.9.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"NuGet","package":"DisCatSharp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.8.5"},{"fixed":"9.9.1"}]}]},{"source":"osv","ecosystem":"NuGet","package":"DisCatSharp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.8.5"},{"fixed":"9.9.1"}]}],"versions":["9.8.5","9.8.6","9.8.6-nightly-00261","9.8.6-nightly-00262","9.8.6-nightly-00263","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"]}],"products":[{"vendor":"aiko-it-systems","product":"discatsharp"},{"vendor":"aitsys","product":"discatsharp"}],"references":[{"url":"https://github.com/Aiko-IT-Systems/DisCatSharp/security/advisories/GHSA-frxg-hf44-q765","tags":["x_refsource_CONFIRM","x_transferred","Mitigation","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24849","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-frxg-hf44-q765"},{"url":"https://github.com/Aiko-IT-Systems/DisCatSharp","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-24849","title":"Contact to DisCatSharp-owned server using authenticated client","description":"DisCatSharp is a Discord API wrapper for .NET. 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. 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. Users unable to upgrade should remove all uses of the two `RequireDisCatSharpDeveloperAttribute`s and all direct calls to `BaseDiscordClient.LibraryDeveloperTeam`.","status":"published","published":"2022-04-14T21:25:14Z","modified":"2025-04-23T18:39:25.641Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T14:34:34.940806Z"}],"euvd":[{"id":"EUVD-2022-1725","description":"DisCatSharp is a Discord API wrapper for .NET. 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. 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. Users unable to upgrade should remove all uses of the two `RequireDisCatSharpDeveloperAttribute`s and all direct calls to `BaseDiscordClient.LibraryDeveloperTeam`.","status":"published","published":"2022-04-14T21:25:14Z","modified":"2025-04-23T18:39:25Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T20:52:07.950001Z"}],"ghsa":[{"id":"GHSA-frxg-hf44-q765","title":"Exposure of Sensitive Information to an Unauthorized Actor in DisCatSharp","description":"### Impact\nUsers 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.\n\n### Patches\n9.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.\n\n### Workarounds\nRemove all uses of the two `RequireDisCatSharpDeveloperAttribute`s and all direct calls to `BaseDiscordClient.LibraryDeveloperTeam`.\n\n### Details\nThe `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.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Join our [Discord server](https://discord.gg/GGYSywkxwN)\n* Email us at [ottero@aitsys.dev](mailto:ottero@aitsys.dev)\n","status":"published","published":"2022-04-22T20:39:47Z","modified":"2023-01-27T05:02:01Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T14:36:17.04874Z"}],"nvd":[{"id":"CVE-2022-24849","description":"DisCatSharp is a Discord API wrapper for .NET. 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. 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. Users unable to upgrade should remove all uses of the two `RequireDisCatSharpDeveloperAttribute`s and all direct calls to `BaseDiscordClient.LibraryDeveloperTeam`.","status":"published","published":"2022-04-14T22:15:07.947Z","modified":"2026-06-17T04:32:39.29Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T14:07:15.414503Z"}],"osv":[{"id":"GHSA-frxg-hf44-q765","title":"Exposure of Sensitive Information to an Unauthorized Actor in DisCatSharp","description":"### Impact\nUsers 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.\n\n### Patches\n9.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.\n\n### Workarounds\nRemove all uses of the two `RequireDisCatSharpDeveloperAttribute`s and all direct calls to `BaseDiscordClient.LibraryDeveloperTeam`.\n\n### Details\nThe `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.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Join our [Discord server](https://discord.gg/GGYSywkxwN)\n* Email us at [ottero@aitsys.dev](mailto:ottero@aitsys.dev)\n","status":"published","published":"2022-04-22T20:39:47Z","modified":"2023-11-08T04:08:38.619199Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T15:46:46.760785Z"}]}}
