Bug 1225917 (CVE-2024-4253) - VUL-0: CVE-2024-4253: gradio: command injection within the test-functional.yml workflow
Summary: VUL-0: CVE-2024-4253: gradio: command injection within the test-functional.ym...
Status: RESOLVED INVALID
Alias: CVE-2024-4253
Product: openSUSE Distribution
Classification: openSUSE
Component: Security (show other bugs)
Version: Leap 15.6
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/408611/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-04 11:11 UTC by SMASH SMASH
Modified: 2024-06-04 11:16 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-06-04 11:11:59 UTC
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'.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-4253
https://www.cve.org/CVERecord?id=CVE-2024-4253
https://github.com/gradio-app/gradio/commit/a0e70366a8a406fdd80abb21e8c88a3c8e682a2b
https://huntr.com/bounties/23cb3749-8ae9-4e1a-9023-4a20ca6b675e
Comment 1 Camila Camargo de Matos 2024-06-04 11:13:13 UTC
This issue affects a GitHub workflow present in the upstream codebase. This is not present in any codestream, and, therefore, we are not affected.
Comment 2 Camila Camargo de Matos 2024-06-04 11:15:55 UTC
This bug is also INVALID as package openSUSE:Backports:SLE-15-SP5/gradio, originally being considered here, is not the same as https://github.com/gradio-app/gradio.