CVE & CISA-KEV Catalog

CVE-2024-47166

MEDIUM
5.3
CVSS v3
NVD

Description

Gradio is an open-source Python package designed for quick prototyping. This vulnerability involves a **one-level read path traversal** in the `/custom_component` endpoint. Attackers can exploit this flaw to access and leak source code from custom Gradio components by manipulating the file path in the request. Although the traversal is limited to a single directory level, it could expose proprietary or sensitive code that developers intended to keep private. This impacts users who have developed custom Gradio components and are hosting them on publicly accessible servers. Users are advised to upgrade to `gradio>=4.44` to address this issue. As a workaround, developers can sanitize the file paths and ensure that components are not stored in publicly accessible directories.

How to fix

Remediation Available
gradioNVD
Affected:< 4.44.0Fixed in:4.44.0CVE-2024-47166derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityNone
AvailabilityNone

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

Exploit Intelligence

0.42%probability of exploitation in 30 days
34thpercentile

Low risk: more likely to be exploited than 34% of all known CVEs.

References

Third-Party Advisory1

Related Vulnerabilities

Other CWE-22 (Path Traversal) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-23897Critical9.8100%KEV + RansomFix
CVE-2023-32315High8.6100%KEVFix
CVE-2022-29464Critical9.8100%KEV + Ransom-
CVE-2021-26086Medium5.3100%KEVFix
CVE-2021-22005Critical9.8100%KEV + RansomFix
CVE-2020-5902Critical9.8100%KEV + RansomFix
Embed a live status badge for CVE-2024-47166
CVE-2024-47166 severity badge

Markdown

[![CVE-2024-47166](https://tridentstack.com/cve/badge/CVE-2024-47166.svg)](https://tridentstack.com/cve/CVE-2024-47166)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-47166"><img src="https://tridentstack.com/cve/badge/CVE-2024-47166.svg" alt="CVE-2024-47166"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-10-17.