CVE-2022-24770
published 2022-03-17CVE-2022-24770: `gradio` is an open source framework for building interactive machine learning models and demos. Prior to version 2.8.11, `gradio` suffers from Improper…
PriorityP347high8.8CVSS 3.1
AVNACLPRNUIRSUCHIHAH
EPSS
1.25%
65.6th percentile
`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.
Affected
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| gradio-app | gradio | < 2.8.11 | 2.8.11 |
| gradio_project | gradio | < 2.8.11 | 2.8.11 |
| gradio_project | gradio | >= 0 < 80fea89117358ee105973453fdc402398ae20239 | 80fea89117358ee105973453fdc402398ae20239 |
| gradio_project | gradio | >= 0 < 2.8.11 | 2.8.11 |
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
Improper Neutralization of Formula Elements in a CSV File in Gradio Flagging
ghsa·2022-03-18
CVE-2022-24770 [HIGH] CWE-1236 Improper Neutralization of Formula Elements in a CSV File in Gradio Flagging
Improper Neutralization of Formula Elements in a CSV File in Gradio Flagging
### Impact
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.
### Patches
The problem has been patched as of `2.8.11`, which escapes the data saved to the csv with single quotes.
### Workarounds
If you are using an older version of `gradio`, don't open csv files generated by `gradio` with Excel or similar spreadsheet programs.
OSV
Improper Neutralization of Formula Elements in a CSV File in Gradio Flagging
osv·2022-03-18
CVE-2022-24770 [HIGH] Improper Neutralization of Formula Elements in a CSV File in Gradio Flagging
Improper Neutralization of Formula Elements in a CSV File in Gradio Flagging
### Impact
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.
### Patches
The problem has been patched as of `2.8.11`, which escapes the data saved to the csv with single quotes.
### Workarounds
If you are using an older version of `gradio`, don't open csv files generated by `gradio` with Excel or similar spreadsheet programs.
OSV
CVE-2022-24770: `gradio` is an open source framework for building interactive machine learning models and demos
osv·2022-03-17
CVE-2022-24770 CVE-2022-24770: `gradio` is an open source framework for building interactive machine learning models and demos
`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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/gradio-app/gradio/commit/80fea89117358ee105973453fdc402398ae20239https://github.com/gradio-app/gradio/pull/817https://github.com/gradio-app/gradio/security/advisories/GHSA-f8xq-q7px-wg8chttps://github.com/gradio-app/gradio/commit/80fea89117358ee105973453fdc402398ae20239https://github.com/gradio-app/gradio/pull/817https://github.com/gradio-app/gradio/security/advisories/GHSA-f8xq-q7px-wg8c
2022-03-17
Published