Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
NVD Vulnerability Details :
CVE-2024-2206
Analyzed
More InfoOfficial Page
Source-security@huntr.dev
View Known Exploited Vulnerability (KEV) details
Published At-27 Mar, 2024 | 01:15
Updated At-29 Jul, 2025 | 20:24

An SSRF vulnerability exists in the gradio-app/gradio due to insufficient validation of user-supplied URLs in the `/proxy` route. Attackers can exploit this vulnerability by manipulating the `self.replica_urls` set through the `X-Direct-Url` header in requests to the `/` and `/config` routes, allowing the addition of arbitrary URLs for proxying. This flaw enables unauthorized proxying of requests and potential access to internal endpoints within the Hugging Face space. The issue arises from the application's inadequate checking of safe URLs in the `build_proxy_request` function.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Primary3.16.5MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Secondary3.07.3HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Type: Primary
Version: 3.1
Base score: 6.5
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Type: Secondary
Version: 3.0
Base score: 7.3
Base severity: HIGH
Vector:
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CPE Matches

gradio_project
gradio_project
>>gradio>>Versions from 3.47.1(inclusive) to 4.18.0(exclusive)
cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:*
Weaknesses
CWE IDTypeSource
CWE-918Secondarysecurity@huntr.dev
CWE ID: CWE-918
Type: Secondary
Source: security@huntr.dev
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://github.com/gradio-app/gradio/commit/49d9c48537aa706bf72628e3640389470138bdc6security@huntr.dev
Patch
https://huntr.com/bounties/2286c1ed-b889-45d6-adda-7014ea06d98esecurity@huntr.dev
Exploit
Third Party Advisory
https://github.com/gradio-app/gradio/commit/49d9c48537aa706bf72628e3640389470138bdc6af854a3a-2127-422b-91ae-364da2661108
Patch
https://huntr.com/bounties/2286c1ed-b889-45d6-adda-7014ea06d98eaf854a3a-2127-422b-91ae-364da2661108
Exploit
Third Party Advisory
Hyperlink: https://github.com/gradio-app/gradio/commit/49d9c48537aa706bf72628e3640389470138bdc6
Source: security@huntr.dev
Resource:
Patch
Hyperlink: https://huntr.com/bounties/2286c1ed-b889-45d6-adda-7014ea06d98e
Source: security@huntr.dev
Resource:
Exploit
Third Party Advisory
Hyperlink: https://github.com/gradio-app/gradio/commit/49d9c48537aa706bf72628e3640389470138bdc6
Source: af854a3a-2127-422b-91ae-364da2661108
Resource:
Patch
Hyperlink: https://huntr.com/bounties/2286c1ed-b889-45d6-adda-7014ea06d98e
Source: af854a3a-2127-422b-91ae-364da2661108
Resource:
Exploit
Third Party Advisory
Change History
0Changes found

Details not found