Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. gradio
  4. ›
  5. CVE-2024-0964

CVE-2024-0964: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

February 6, 2024

A local file include could be remotely triggered in Gradio due to a vulnerable user-supplied JSON value in an API request.

References

  • github.com/advisories/GHSA-f3h9-8phc-6gvh
  • github.com/gradio-app/gradio/commit/d76bcaaaf0734aaf49a680f94ea9d4d22a602e70
  • huntr.com/bounties/25e25501-5918-429c-8541-88832dfd3741
  • nvd.nist.gov/vuln/detail/CVE-2024-0964

Code Behaviors & Features

Detect and mitigate CVE-2024-0964 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.9.0

Fixed versions

  • 4.9.0

Solution

Upgrade to version 4.9.0 or above.

Impact 9.4 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/gradio/CVE-2024-0964.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 13 May 2025 00:16:13 +0000.