PT-2022-16866 · Microsoft · Ms Excel
Haby0
·
Published
2022-03-17
·
Updated
2022-03-24
·
CVE-2022-24770
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
gradio versions prior to 2.8.11
Description
The gradio library has a flagging functionality that 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.
Recommendations
For versions prior to 2.8.11, avoid opening CSV files generated by gradio with Excel or similar spreadsheet programs.
Update to version 2.8.11 or later, which escapes the saved CSV with single quotes, to resolve the issue.
Exploit
Fix
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Ms Excel