CVE-2024-4254: Secrets Exfiltration in gradio-app/gradio
The 'deploy-website.yml' workflow in the gradio-app/gradio repository, specifically in the 'main' branch, is vulnerable to secrets exfiltration due to improper authorization. The vulnerability arises from the workflow's explicit checkout and execution of code from a fork, which is unsafe as it allows the running of untrusted code in an environment with access to push to the base repository and access secrets. This flaw could lead to the exfiltration of sensitive secrets such as GITHUBTOKEN, HFTOKEN, VERCELORGID, VERCELPROJECTID, COMMENTTOKEN, AWSACCESSKEYID, AWSSECRETKEY, and VERCELTOKEN. The vulnerability is present in the workflow file located at https://github.com/gradio-app/gradio/blob/72f4ca88ab569aae47941b3fb0609e57f2e13a27/.github/workflows/deploy-website.yml.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-4254?
CVE-2024-4254 is classified as a medium severity vulnerability due to its potential for secrets exfiltration.
How do I fix CVE-2024-4254?
To address CVE-2024-4254, ensure proper authorization mechanisms are implemented in the 'deploy-website.yml' workflow in the gradio repository.
What kind of application is affected by CVE-2024-4254?
CVE-2024-4254 affects the Gradio application, specifically in its deployment workflows.
What is the impact of CVE-2024-4254?
The impact of CVE-2024-4254 includes the possible exfiltration of sensitive secrets due to unauthorized code execution.
Which GitHub repository contains the CVE-2024-4254 vulnerability?
The CVE-2024-4254 vulnerability is found in the gradio-app/gradio repository on GitHub.