Advisory

PYSEC-2021-873

Also known as: CVE-2021-43831, GHSA-rhq2-3vr9-6mcr

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2021-12-15 20:15 UTC
Modified
2023-11-08 04:07 UTC

Affected packages and fixes

gradio

PyPI · All systems

Affected

  • introduced 0, fixed 2.5.0 (ecosystem)

Fixed versions

2.5.0

Fix

  • Fixed version 2.5.0
    pip install --upgrade gradio==2.5.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences