CVE-2023-6572 Command Injection in gradio-app/gradio

Critical 9.6 Published Updated

Attackers can execute arbitrary commands via input in the Gradio library, requiring an upgrade to the latest version.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-6572?

CVE-2023-6572 is a critical command injection vulnerability in Gradio Project Gradio, published on 14 Dec 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Command Injection in GitHub repository gradio-app/gradio prior to main.

Weakness: CWE-77

Which versions are affected by CVE-2023-6572?

3 open source packages ship an affected version, including gradio. It affects 1 product.

PackageAffectedFixed in
gradio PyPIAll versions4.14.0
gradio PyPIAll versions4.14.0
gradio PyPIAll versions4.14.0

Products include Gradio Project Gradio.

How do I fix CVE-2023-6572?

Upgrade gradio to 4.14.0 or later.

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

Is CVE-2023-6572 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

All Gradio Project Gradio vulnerabilities

Sources

Also known as GHSA-gqvf-3hgp-5hxv, PYSEC-2023-255.

Is CVE-2023-6572 in your software?

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

Check your SBOMs for free