Lucene search

K
githubGitHub Advisory DatabaseGHSA-973G-55HP-3FRW
HistoryJun 06, 2024 - 6:30 p.m.

Server-Side Request Forgery in gradio

2024-06-0618:30:58
CWE-918
GitHub Advisory Database
github.com
3
ssrf vulnerability
gradio-app
version 4.21.0
/queue/join" endpoint
save_url_to_cache function
http request
validation checks
unauthorized access
local network
aws metadata endpoint
internal servers

CVSS3

8.6

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

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

AI Score

8.3

Confidence

High

EPSS

0

Percentile

9.0%

A Server-Side Request Forgery (SSRF) vulnerability exists in the gradio-app/gradio and was discovered in version 4.21.0, specifically within the /queue/join endpoint and the save_url_to_cache function. The vulnerability arises when the path value, obtained from the user and expected to be a URL, is used to make an HTTP request without sufficient validation checks. This flaw allows an attacker to send crafted requests that could lead to unauthorized access to the local network or the AWS metadata endpoint, thereby compromising the security of internal servers.

Affected configurations

Vulners
Node
gradio_projectgradioRange4.36.0python
VendorProductVersionCPE
gradio_projectgradio*cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:*

CVSS3

8.6

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

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

AI Score

8.3

Confidence

High

EPSS

0

Percentile

9.0%

Related for GHSA-973G-55HP-3FRW