Arbitrary Command Injection Affecting gradio package, versions [,4.1.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.08% (36th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-GRADIO-6305195
  • published29 Feb 2024
  • disclosed14 Dec 2023
  • creditArun

Introduced: 14 Dec 2023

CVE-2023-6572  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade gradio to version 4.1.2 or higher.

Overview

gradio is a Python library for easily interacting with trained machine learning models

Affected versions of this package are vulnerable to Arbitrary Command Injection. A user who can control the value of github.event.workflow_run.head_branch can inject shell commands into the "Generate changeset" workflow.

CVSS Scores

version 3.1