1. Accueil
  2. Vulnérabilités
  3. CVE-2024-47084

CVE-2024-47084

Gradio is an open-source Python package designed for quick prototyping. This vulnerability is related to…

Publiée le 10 oct. 2024 · modifiée le 17 juin 2026 · Sources : NVD, EPSS (FIRST)

Moyen 48/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Gradio project (1 ligne(s))
Gradio project
ProduitVersionsCorrigé dansSource
Gradio avant 4.44.0 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L (CVSS 3.1, NVD)
Faiblesse
NVD-CWE-Other · Non classé

Comment sont obtenues et calculées ces données