CVE-2024-1540
Command Injection in gradio-app/gradio via deploy+test-visual.yml workflow
- تم النشر
- 27/03/2024
- محدث
- 21/08/2024
- تخصيص CNA
- @huntr_ai
- الأدلة المرصودة
- 01/09/2026
CVSS الأساسي
nvd · CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:Nمنخفض · الثلاثين يومًا القادمة
- المئوية
- 79.4%
- تاريخ الموديل
- 21/09/2026
EPSS هو تقدير إحصائي، وليس يقينًا أو مقياسًا للتأثير. ادمجها مع CVSS وحالة KEV والتعرض وبيئتك.
ملخص
A command injection vulnerability exists in the deploy+test-visual.yml workflow of the gradio-app/gradio repository, due to improper neutralization of special elements used in a command. This vulnerability allows attackers to execute unauthorized commands, potentially leading to unauthorized modification of the base repository or secrets exfiltration. The issue arises from the unsafe handling of GitHub context information within a `run` operation, where expressions inside `${{ }}` are evaluated and substituted before script execution. Remediation involves setting untrusted input values to intermediate environment variables to prevent direct influence on script generation.
المصادر
- gha-lab-8e9316151cالبحث
مختبر أبحاث أمنية مُتحكَّم به لإعادة إنتاج CVE-2024-1540 (حقن أوامر في GitHub Actions في gradio-app/gradio deploy+test-visual.yml) — لقطة مُسطَّحة من gradio-app/gradio @ f35f615e33a5dd90bfeb106b6f5dca689849fcef
الاستخدام المسؤول
استخدم معلومات الثغرات الأمنية فقط على الأنظمة التي تمتلكها أو المرخص لها باختبارها. يرتبط Kitploit ببيانات تعريف البحث العامة ولا يخزن أكواد الاستغلال أو الحمولات الضارة.