Critical severityNVD Advisory· Published Apr 10, 2024· Updated Aug 1, 2024
Local File Inclusion in gradio-app/gradio
CVE-2024-1728
Description
gradio-app/gradio is vulnerable to a local file inclusion vulnerability due to improper validation of user-supplied input in the UploadButton component. Attackers can exploit this vulnerability to read arbitrary files on the filesystem, such as private SSH keys, by manipulating the file path in the request to the /queue/join endpoint. This issue could potentially lead to remote code execution. The vulnerability is present in the handling of file upload paths, allowing attackers to redirect file uploads to unintended locations on the server.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
gradioPyPI | < 4.19.2 | 4.19.2 |
Affected products
2- Range: unspecified
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-m842-4qm8-7gpqghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-1728ghsaADVISORY
- github.com/gradio-app/gradio/commit/16fbe9cd0cffa9f2a824a0165beb43446114eec7ghsaWEB
- github.com/gradio-app/gradio/security/advisories/GHSA-m842-4qm8-7gpqghsaWEB
- huntr.com/bounties/9bb33b71-7995-425d-91cc-2c2a2f2a068aghsaWEB
News mentions
0No linked articles in our index yet.