CVE-2022-24770
CVSS V2 Medium 6.8
CVSS V3 High 8.8
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.
Overview
- CVE ID
- CVE-2022-24770
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2022-03-17T21:15:08
- Last Modified Date
- 2022-03-24T13:00:22
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:* | 1 | OR | 2.8.11 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 6.8
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 8.8
- Base Severity
- HIGH
- Exploitability Score
- 2.8
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://github.com/gradio-app/gradio/security/advisories/GHSA-f8xq-q7px-wg8c | Third Party Advisory |
https://github.com/gradio-app/gradio/pull/817 | Patch Third Party Advisory |
https://github.com/gradio-app/gradio/commit/80fea89117358ee105973453fdc402398ae20239 | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-24770 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24770 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-04-04 00:42:32 | Added to TrackCVE | |||
2022-12-06 12:42:57 | 2022-03-17T21:15Z | 2022-03-17T21:15:08 | CVE Published Date | updated |
2022-12-06 12:42:57 | 2022-03-24T13:00:22 | CVE Modified Date | updated | |
2022-12-06 12:42:57 | Analyzed | Vulnerability Status | updated |