Record summary

EIP currently links 1 Nuclei template to CVE-2021-43831.

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.

Description source: CVE List

Exploitation context

Available material

Nuclei templates
1

Affected products and versions

2
ProductSourceVersion rangeStatus
CVE List< 2.5.0affected
GitHub AdvisoryBefore 2.5.0 · Fixed in 2.5.0affected

Nuclei templates

1
ProjectDiscoveryHIGHGradio < 2.5.0 - Arbitrary File ReadCVSS 7.7

Files on the host computer can be accessed from the Gradio interface

Impact

An attacker would be able to view the contents of a file on the computer.

Remediation

Update to version 2.5.0.

WeaknessesCWE-22
Authorsisacaya
Template tagscvecve2021lfigradiovuln
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
CPE: cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:*
Shodan: title:"Gradio"

Source: ProjectDiscovery

References

5