CVE-2021-43831

Gradio is an open source framework for building interactive machine learning models and demos. In versions prior to 2.5.0 there is a vulnerability that affects anyone who creates and publicly shares Gradio interfaces. File paths are not restricted and users who receive a Gradio link can access any files on the host computer if they know the file names or file paths. This is limited only by the host operating system. Paths are opened in read only mode. The problem has been patched in gradio 2.5.0.
Configurations

Configuration 1 (hide)

cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:*

History

21 Dec 2021, 15:43

Type Values Removed Values Added
CWE CWE-22
CVSS v2 : unknown
v3 : 7.7
v2 : 3.5
v3 : 7.7
References (CONFIRM) https://github.com/gradio-app/gradio/security/advisories/GHSA-rhq2-3vr9-6mcr - (CONFIRM) https://github.com/gradio-app/gradio/security/advisories/GHSA-rhq2-3vr9-6mcr - Exploit, Third Party Advisory
References (MISC) https://github.com/gradio-app/gradio/commit/41bd3645bdb616e1248b2167ca83636a2653f781 - (MISC) https://github.com/gradio-app/gradio/commit/41bd3645bdb616e1248b2167ca83636a2653f781 - Patch, Third Party Advisory
CPE cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:*

15 Dec 2021, 20:18

Type Values Removed Values Added
New CVE

Information

Published : 2021-12-15 20:15

Updated : 2024-02-04 22:08


NVD link : CVE-2021-43831

Mitre link : CVE-2021-43831

CVE.ORG link : CVE-2021-43831


JSON object : View

Products Affected

gradio_project

  • gradio
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')