Skip to main content
← All vulnerabilities
CVE-2024-4253PYSEC-2024-321

Command Injection in gradio-app/gradio

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.29.0
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

A command injection vulnerability exists in the gradio-app/gradio repository, specifically within the 'test-functional.yml' workflow. The vulnerability arises due to improper neutralization of special elements used in a command, allowing for unauthorized modification of the base repository or secrets exfiltration. The issue affects versions up to and including '@gradio/video@0.6.12'. The flaw is present in the workflow's handling of GitHub context information, where it echoes the full name of the head repository, the head branch, and the workflow reference without adequate sanitization. This could potentially lead to the exfiltration of sensitive secrets such as 'GITHUB_TOKEN', 'COMMENT_TOKEN', and 'CHROMATIC_PROJECT_TOKEN'.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • gradio-app gradio-app/gradio

    fixed in 4.29.0

  • gradioPyPI

    fixed in 4.29.0

References 3

huntr.com

GitHub · gradio-app/gradio

GitHub · pvharmo2/gha-lab-ee08e207a8