CVE-2024-39236 Withdrawn Advisory: Gradio was discovered to contain a code injection vulnerability via the component /gradio/component_meta.py

Critical 9.8 Published Updated

Crafted input in Gradio allows code injection, though the vendor disputes severity as it requires user self-attack.

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-2024-39236?

CVE-2024-39236 is a critical code injection vulnerability in Gradio Project Gradio, published on 1 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Gradio v4.36.1 was discovered to contain a code injection vulnerability via the component /gradio/component_meta.py. This vulnerability is triggered via a crafted input. NOTE: the supplier disputes this because the report is about a user attacking himself.

Weakness: CWE-94

Which versions are affected by CVE-2024-39236?

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

PackageAffectedFixed in
gradio PyPIAll versionsNone
gradio PyPIAll versions to 4.36.1None
Gradio PyPIAll versionsNone

Products include Gradio Project Gradio.

How do I fix CVE-2024-39236?

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

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2024-39236 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-39236 exists.

All Gradio Project Gradio vulnerabilities

Sources

Also known as GHSA-9v2f-6vcg-3hgv, PYSEC-2024-274.

Is CVE-2024-39236 in your software?

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

Check your SBOMs for free