CVE-2023-30621
Published: 21 April 2023
Summary
CVE-2023-30621 is a critical-severity OS Command Injection (CWE-78) vulnerability in Gipsy Project Gipsy. Its CVSS base score is 9.8 (Critical).
Operationally, ranked in the top 7.6% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
Gipsy is a modular Discord bot that prior to version 1.3 contained a command-injection vulnerability in its !ping handler. The command accepted an arbitrary IP address or hostname argument and passed it directly to a shell invocation of `ping` executed with root privileges, without any validation or sanitization of the supplied value. The flaw is tracked as CWE-78 and carries a CVSS 3.1 score of 9.8.
An unauthenticated remote attacker who can reach the bot on Discord can therefore supply a crafted argument that results in arbitrary command execution on the underlying host. Because the process runs with sudoer rights, the attacker can achieve full control over the server, including reading or modifying any data and disrupting service availability.
Public advisories published with the CVE recommend immediate upgrade to version 1.3 or later; the fixing commit is referenced in the associated GitHub pull request. No workarounds are documented.
EPSS for the vulnerability has remained flat at 0.0814 since disclosure, indicating no significant increase in observed exploitation interest.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-34992
Vulnerability details
Gipsy is a multi-purpose discord bot which aim to be as modular and user-friendly as possible. In versions prior to 1.3 users can run command on the host machine with sudoer permission. The `!ping` command when provided with an IP…
more
or hostname used to run a bash `ping <IP>` without verification that the IP or hostname was legitimate. This command was executed with root permissions and may lead to arbitrary command injection on the host server. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.