PT-2023-32836 · Hugging Face · Transformers

Ydshieh

·

Publicado

2023-12-20

·

Atualizado

2023-12-30

·

CVE-2023-7018

CVSS v3.1

9.6

Crítica

VetorAV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions huggingface/transformers versions prior to 4.36
Description The issue concerns the deserialization of untrusted data, which can compromise model integrity and potentially lead to remote code execution (RCE). This is particularly relevant when using the TransfoXLTokenizer() function, as it can automatically deserialize untrusted data. The vulnerability allows for malicious code injection, potentially through secondary repositories.
Recommendations For versions prior to 4.36, update to version 4.36 or later to resolve the issue. As a temporary workaround, consider disabling the TransfoXLTokenizer() function until a patch is available. Restrict access to untrusted data to minimize the risk of exploitation.

Exploit

Correção

Deserialization of Untrusted Data

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2023-7018
GHSA-V68G-WM8C-6X7J
PYSEC-2023-301

Produtos afetados

Transformers