Improper Neutralization of Formula Elements in a CSV File in Gradio Flagging
Description
gradio is an open source framework for building interactive machine learning models and demos. Prior to version 2.8.11, gradio suffers from Improper Neutralization of Formula Elements in a CSV File. The gradio library has a flagging functionality which saves input/output data into a CSV file on the developer's computer. This can allow a user to save arbitrary text into the CSV file, such as commands. If a program like MS Excel opens such a file, then it automatically runs these commands, which could lead to arbitrary commands running on the user's computer. The problem has been patched as of 2.8.11, which escapes the saved csv with single quotes. As a workaround, avoid opening csv files generated by gradio with Excel or similar spreadsheet programs.
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 | < 2.8.11 | 2.8.11 |
Affected products
2- Range: < 2.8.11
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-f8xq-q7px-wg8cghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-24770ghsaADVISORY
- github.com/gradio-app/gradio/commit/80fea89117358ee105973453fdc402398ae20239ghsax_refsource_MISCWEB
- github.com/gradio-app/gradio/pull/817ghsax_refsource_MISCWEB
- github.com/gradio-app/gradio/security/advisories/GHSA-f8xq-q7px-wg8cghsax_refsource_CONFIRMWEB
- github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2022-229.yamlghsaWEB
News mentions
0No linked articles in our index yet.