CVE-2021-43831
Files on the host computer can be accessed from the Gradio interface
8.3
HIGH
CVSS 3.1
EPSS 30.3%
Description
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.
How to fix CVE-2021-43831
To remediate CVE-2021-43831, upgrade the affected package to a fixed version below.
- —upgrade to 2.5.0 or later
- —upgrade to 41bd3645bdb616e1248b2167ca83636a2653f781 or later
Is CVE-2021-43831 being exploited?
Moderate — EPSS is 30.3%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (2)
- from 0, < 2.5.0
- from 0, < 41bd3645bdb616e1248b2167ca83636a2653f781 | from 0, < 2.5.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH8.3 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L |