CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Gradio Project

CVE-2024-4253
Gradio Project Gradio vulnerability

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/[email protected]'. 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'.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Gradio. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Gradio Project Gradio runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Gradio Project products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.