Advisory

PYSEC-2023-249

Also known as: CVE-2023-51449, GHSA-6qm2-wpxq-7qh2

Summary

The record has no summary.

Details

Gradio is an open-source Python package that allows you to quickly build a demo or web application for your machine learning model, API, or any arbitary Python function. Versions of gradio prior to 4.11.0 contained a vulnerability in the /file route which made them susceptible to file traversal attacks in which an attacker could access arbitrary files on a machine running a Gradio app with a public URL (e.g. if the demo was created with share=True, or on Hugging Face Spaces) if they knew the path of files to look for. This issue has been patched in version 4.11.0.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2023-12-22 21:15 UTC
Modified
2024-01-17 11:41 UTC

Affected packages and fixes

gradio

PyPI · All systems

Affected

  • introduced 0, fixed 4.11.0 (ecosystem)

Fixed versions

4.11.0

Fix

  • Fixed version 4.11.0
    pip install --upgrade gradio==4.11.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