Vulnerability

CVE-2024-4253

criticalCVSS 3.1 9.1Published 4 Jun 2024

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Gradio Project gradio

Weakness type

References

  • github.com /gradio-app/gradio/commit/a0e70366a8a406fdd80abb21e8c88a3c8…
  • huntr.com /bounties/23cb3749-8ae9-4e1a-9023-4a20ca6b675e

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning