Skip to content

fix(deps): update transformers to >=4.48.0 to address CVE-2024-11392 #97

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

miguelalexanderdiaz
Copy link

@miguelalexanderdiaz miguelalexanderdiaz commented Apr 25, 2025

This commit updates the Hugging Face Transformers dependency to address CVE-2024-11392, a high severity (CVSS 8.8) vulnerability related to deserialization of untrusted data in MobileViTV2 configuration files.

The vulnerability could allow remote code execution through malicious configuration files. Updating to version 4.48.0 or higher patches this security issue.

Security: CVE-2024-11392

This PR solves the issue #96

Checklist:

  • Documentation has been updated, if necessary.
  • Examples have been added, if necessary.
  • Tests have been added, if necessary.
  • Run default tests checking with python versions 3.9, 3.10, 3.11, 3.12 on macOS with apple silicon (M2 Max)

Passing tests python 3.9

image

Passing tests python 3.10

image

Passing tests python 3.11

image

Passing tests python 3.12

image

This commit updates the Hugging Face Transformers dependency to address
CVE-2024-11392, a high severity (CVSS 8.8) vulnerability related to
deserialization of untrusted data in MobileViTV2 configuration files.

The vulnerability could allow remote code execution through malicious
configuration files. Updating to version 4.48.0 or higher patches this
security issue.

Security: CVE-2024-11392
Copy link

mergify bot commented Apr 25, 2025

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\(.+\))?(!)?:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant