Access Control Bypass Affecting huggingface-hub package, versions [,0.13.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Access Control Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-HUGGINGFACEHUB-5591152
  • published22 May 2023
  • disclosed22 May 2023
  • creditUnknown

Introduced: 22 May 2023

CVE NOT AVAILABLE CWE-284  (opens in a new tab)

How to fix?

Upgrade huggingface-hub to version 0.13.4 or higher.

Overview

huggingface-hub is a Client library to download and publish models, datasets and other repos on the huggingface.co hub

Affected versions of this package are vulnerable to Access Control Bypass such that a malicious repo on the Hub can overwrite any file on the disk when using hf_hub_download/snapshot_download.

CVSS Base Scores

version 3.1