Path Traversal in Gradio-App Gradio

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.

Vulnerability class: Path Traversal (Directory Traversal)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.7 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N.

EPSS exploit prediction

EPSS: 0.038 (89.6th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 90th percentile — 89.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2021-43831: held from 0.038 to 0.038.

EPSS over last 30 days · oldest: 0.038 · newest: 0.038 · change: 0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-43831?
CVE-2021-43831 is a high-severity vulnerability in Gradio-App Gradio, classified under Path Traversal. CVSS score: 7.7/10. Published 2021-12-15.
How severe is CVE-2021-43831?
High severity. CVSS v3 base score is 7.7 out of 10.