Quick answers
- Is CVE-2024-11392 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2024-11392 being exploited in the wild.
- How severe is CVE-2024-11392?
- High severity, with a CVSS score of 7.5, published 23 November 2024.
- Which products and versions are affected?
- Hugging Face Transformers < 4.48.0; transformers (PyPI) ECOSYSTEM:introduced=0,fixed=4.48.0.
- Is there a fix for CVE-2024-11392?
- Yes. transformers (PyPI): upgrade to 4.48.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2024-11392 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2024-11392?
- Check whether you run Hugging Face Transformers or transformers (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- transformers (PyPI): upgrade to 4.48.0 or later
pip install "transformers>=4.48.0"
Technical details
This vulnerability exists in the MobileViTV2 configuration file handling within Hugging Face Transformers. The root cause is insufficient validation of user-supplied data during deserialization, which allows untrusted serialized objects to be reconstructed without proper integrity checks. The attack vector is network-based with high attack complexity, requiring user interaction—the victim must visit a malicious page or open a malicious model file. Once triggered, an attacker can execute arbitrary code in the context of the current user. The vulnerability affects all versions prior to 4.48.0, which includes the fix. The fix involves removing insecure conversion scripts from release wheels and properly validating configuration data during deserialization.
Affected products
- Hugging Face Transformers < 4.48.0
Identifiers
- CVE-2024-11392
- GHSA-qxrp-vhvm-j765
- PYSEC-2024-227
Timeline
- 2024-11-19: disclosed
- 2024-11-23: patched: Version 4.48.0 released with fix