CVE-2023-30621 OS command injection in Gipsy

Critical 9.8 Published Updated

Attackers can execute arbitrary commands with root privileges via the ping command in the Gipsy Discord bot.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-30621?

CVE-2023-30621 is a critical command injection vulnerability in Curiosity-org Gipsy, published on 21 Apr 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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 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.

Weakness: CWE-78

Which versions are affected by CVE-2023-30621?

It affects 1 product.

Products include Gipsy Project Gipsy.

How do I fix CVE-2023-30621?

No fix has been published for CVE-2023-30621 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2023-30621 being exploited?

There is no known exploitation of CVE-2023-30621 in the wild and no public exploit code.

Sources

Also known as GHSA-6cw6-r8pg-j7wh.

Is CVE-2023-30621 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free