SB2024081326 - Multiple vulnerabilities in huggingface transformers



SB2024081326 - Multiple vulnerabilities in huggingface transformers

Published: August 13, 2024

Security Bulletin ID SB2024081326
Severity
High
Patch available
YES
Number of vulnerabilities 2
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 2 secuirty vulnerabilities.


1) Deserialization of Untrusted Data (CVE-ID: CVE-2023-6730)

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to insecure input validation when fetching RagRetriever models. A remote attacker can pass a specially crafted config file to the application and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


2) Deserialization of Untrusted Data (CVE-ID: CVE-2023-7018)

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to insecure input validation in TransfoXLTokenizer when loading vocab.pkl file. A remote attacker can pass specially a crafted file to the application and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Remediation

Install update from vendor's website.