GHSA-f8xq-q7px-wg8c

    Dashboard / Vulnerabilities / GHSA-f8xq-q7px-wg8c

    GHSA-f8xq-q7px-wg8c

    Published: 18 Mar 2022Last Modified: 8 Nov 2023

    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.

    Affected packages

    Package

    Name: gradio

    Purl: pkg:pypi/gradio

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.8.11

    Affected versions

    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

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-f8xq-q7px-wg8c | CVE-DB