GHSA-f8xq-q7px-wg8c

Suggest an improvement
Source
https://github.com/advisories/GHSA-f8xq-q7px-wg8c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-f8xq-q7px-wg8c/GHSA-f8xq-q7px-wg8c.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-f8xq-q7px-wg8c
Aliases
Related
Published
2022-03-18T23:11:43Z
Modified
2023-11-01T04:58:08.195588Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Improper Neutralization of Formula Elements in a CSV File in Gradio Flagging
Details

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.

Database specific
{
    "nvd_published_at": "2022-03-17T21:15:00Z",
    "github_reviewed_at": "2022-03-18T23:11:43Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-1236"
    ]
}
References

Affected packages

PyPI / gradio

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.8.11

Affected versions

0.*

0.1.0
0.1.1
0.1.2
0.1.3
0.1.4
0.1.5
0.1.6
0.1.7
0.1.8
0.1.9
0.2.0
0.2.1
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
0.4.2
0.4.4
0.5.0
0.7.0
0.7.1
0.7.2
0.7.3
0.7.4
0.7.5
0.7.6
0.7.7
0.7.8
0.8.0
0.8.1
0.9.0
0.9.1
0.9.2
0.9.3
0.9.4
0.9.5
0.9.6
0.9.7
0.9.8
0.9.9.2
0.9.9.3
0.9.9.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