7.7
HIGH CVSS 3.1
CVE-2021-43831
Files on the host computer can be accessed from the Gradio interface
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.

INFO

Published Date :

Dec. 15, 2021, 8:15 p.m.

Last Modified :

Nov. 21, 2024, 6:29 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2021-43831 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Gradio_project gradio
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 LOW [email protected]
CVSS 3.1 HIGH [email protected]
CVSS 3.1 HIGH [email protected]
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-43831.

URL Resource
https://github.com/gradio-app/gradio/commit/41bd3645bdb616e1248b2167ca83636a2653f781 Patch Third Party Advisory
https://github.com/gradio-app/gradio/security/advisories/GHSA-rhq2-3vr9-6mcr Exploit Third Party Advisory
https://github.com/gradio-app/gradio/commit/41bd3645bdb616e1248b2167ca83636a2653f781 Patch Third Party Advisory
https://github.com/gradio-app/gradio/security/advisories/GHSA-rhq2-3vr9-6mcr Exploit Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-43831 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-43831 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-43831 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/gradio-app/gradio/commit/41bd3645bdb616e1248b2167ca83636a2653f781
    Added Reference https://github.com/gradio-app/gradio/security/advisories/GHSA-rhq2-3vr9-6mcr
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Dec. 21, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:M/Au:S/C:P/I:N/A:N)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
    Changed Reference Type https://github.com/gradio-app/gradio/commit/41bd3645bdb616e1248b2167ca83636a2653f781 No Types Assigned https://github.com/gradio-app/gradio/commit/41bd3645bdb616e1248b2167ca83636a2653f781 Patch, Third Party Advisory
    Changed Reference Type https://github.com/gradio-app/gradio/security/advisories/GHSA-rhq2-3vr9-6mcr No Types Assigned https://github.com/gradio-app/gradio/security/advisories/GHSA-rhq2-3vr9-6mcr Exploit, Third Party Advisory
    Added CWE NIST CWE-22
    Added CPE Configuration OR *cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:* versions up to (excluding) 2.5.0
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.7
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 3.5
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

30.34 }} -39.48%

score

0.96294

percentile