CVE & CISA-KEV Catalog

CVE-2024-47084

HIGH
8.3
CVSS v3
NVD

Description

Gradio is an open-source Python package designed for quick prototyping. This vulnerability is related to **CORS origin validation**, where the Gradio server fails to validate the request origin when a cookie is present. This allows an attacker’s website to make unauthorized requests to a local Gradio server. Potentially, attackers can upload files, steal authentication tokens, and access user data if the victim visits a malicious website while logged into Gradio. This impacts users who have deployed Gradio locally and use basic authentication. Users are advised to upgrade to `gradio>4.44` to address this issue. As a workaround, users can manually enforce stricter CORS origin validation by modifying the `CustomCORSMiddleware` class in their local Gradio server code. Specifically, they can bypass the condition that skips CORS validation for requests containing cookies to prevent potential exploitation.

How to fix

Remediation Available
gradioNVD
Affected:< 4.44.0Fixed in:4.44.0CVE-2024-47084derived 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 InteractionRequired
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityLow

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

Exploit Intelligence

0.48%probability of exploitation in 30 days
38thpercentile

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

References

Mitigation1

Related Vulnerabilities

Other CWE-285 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-29927Critical9.1100%-Fix
CVE-2021-28799Critical10.078%KEV + RansomFix
CVE-2023-32707High8.874%-Fix
CVE-2023-48241High7.573%-Fix
CVE-2023-22480High7.367%-Fix
CVE-2022-3229Critical9.866%--
Embed a live status badge for CVE-2024-47084
CVE-2024-47084 severity badge

Markdown

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

HTML

<a href="https://tridentstack.com/cve/CVE-2024-47084"><img src="https://tridentstack.com/cve/badge/CVE-2024-47084.svg" alt="CVE-2024-47084"></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.