Skip to content

Security: CVE-2024-11392 in Hugging Face Transformers #96

@miguelalexanderdiaz

Description

@miguelalexanderdiaz

I've identified a security vulnerability in the Hugging Face Transformers library that affects this project. The vulnerability (CVE-2024-11392) is rated as high severity (CVSS 8.8) and could potentially allow remote code execution through malicious configuration files in the MobileViTV2 component.

The vulnerability specifically involves improper deserialization of untrusted data in configuration files, which could be exploited if a user processes a malicious file. This is particularly relevant for this project since it deals with document processing.

Proposed Solution:
Update the transformers dependency to version 4.48.0 or higher, which includes the security fix.

  • For non-Mac systems: ^4.48.0
  • For Mac systems: ~4.48.0

Reference:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions